chore: fix the semver image
This commit is contained in:
parent
2b4771d97a
commit
fa96f6adce
@ -28,7 +28,7 @@ variables:
|
|||||||
|
|
||||||
version:
|
version:
|
||||||
#image: python:3.7-stretch
|
#image: python:3.7-stretch
|
||||||
image: registry.gitlab.com/grassrootseconomics/cic-base-images/ci-version:8b5874c3
|
image: registry.gitlab.com/grassrootseconomics/cic-base-images/ci-version:b01318ae
|
||||||
stage: version
|
stage: version
|
||||||
script:
|
script:
|
||||||
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
||||||
@ -65,6 +65,7 @@ build-push:
|
|||||||
before_script:
|
before_script:
|
||||||
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||||
script:
|
script:
|
||||||
|
- TAG=latest ./scripts/build-push.sh
|
||||||
- TAG=$(cat ./version) ./scripts/build-push.sh
|
- TAG=$(cat ./version) ./scripts/build-push.sh
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_PROTECTED == "true"
|
- if: $CI_COMMIT_REF_PROTECTED == "true"
|
||||||
|
Loading…
Reference in New Issue
Block a user