Fix gitlab-ci.yml
This commit is contained in:
parent
32c0d9efd5
commit
968663be79
@ -30,7 +30,7 @@ test:
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- [ -f init ] && chmod 500 init
|
||||
- if [ -f init ]; then chmod 500 init; fi
|
||||
- docker pull ${CI_REGISTRY_IMAGE}:${CACHETAG} || true
|
||||
- docker build --cache-from ${CI_REGISTRY_IMAGE}:${CACHETAG} -t ${CI_REGISTRY_IMAGE}:${VERSION} -t ${CI_REGISTRY_IMAGE}:${CACHETAG} .
|
||||
- docker push ${CI_REGISTRY_IMAGE}:${VERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user