Switch to my own image for hugo
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
1702471e9e
commit
3d1f701a48
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
|
||||
apt update && apt install python3 python3-pip -y
|
||||
apk add --no-cache python3 py3-pip git
|
||||
git config --global user.name baalajimaestro
|
||||
git config --global user.email me@baalajimaestro.me
|
||||
pip3 install GitPython
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
build-and-push:
|
||||
stage: build
|
||||
script:
|
||||
- docker run -v $(pwd):/app -w /app -e BASE_REPO_TOKEN="$BASE_REPO_TOKEN" -e BASE_REPO_USERNAME="$BASE_REPO_USERNAME" -e CONTENT_REPO_GIT="$CONTENT_REPO_GIT" -e CONTENT_REPO_TOKEN="$CONTENT_REPO_TOKEN" -e CONTENT_REPO_USERNAME="$CONTENT_REPO_USERNAME" -e OUT_DIR="$OUT_DIR" klakegg/hugo:ext-debian-ci sh .build.sh
|
||||
- docker run -v $(pwd):/app -w /app -e BASE_REPO_TOKEN="$BASE_REPO_TOKEN" -e BASE_REPO_USERNAME="$BASE_REPO_USERNAME" -e CONTENT_REPO_GIT="$CONTENT_REPO_GIT" -e CONTENT_REPO_TOKEN="$CONTENT_REPO_TOKEN" -e CONTENT_REPO_USERNAME="$CONTENT_REPO_USERNAME" -e OUT_DIR="$OUT_DIR" registry.baalajimaestro.me/baalajimaestro/hugo-alpine-ext:latest sh .build.sh
|
||||
- docker run -v $(pwd):/app busybox rm -rf /app/content /app/resources
|
||||
|
|
Loading…
Reference in a new issue