diff --git a/.build.sh b/.build.sh index 6c9d700..df1cc93 100644 --- a/.build.sh +++ b/.build.sh @@ -1,6 +1,6 @@ #! /bin/sh -apk update && apk add python3 py3-pip git go +apt update && apt install python3 python3-pip git go -y git config --global user.name baalajimaestro git config --global user.email me@baalajimaestro.me pip3 install GitPython diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a361bab..3efcd28 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ build-and-push: stage: build script: - - docker run -t -v $(pwd):/app -w /app --entrypoint="" -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-alpine sh .build.sh + - docker run -v $(pwd):/app -w /app --entrypoint="" -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 sh .build.sh