Update .gitlab-ci.yml

This commit is contained in:
Patrick Jentsch 2019-03-11 23:37:33 +01:00
parent 21bdc34d31
commit b6ff506b9f

View File

@ -9,5 +9,7 @@ before_script:
build: build:
stage: build stage: build
script: script:
- docker build --pull -t $CI_REGISTRY_IMAGE . - docker build --pull -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG .
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG $CI_REGISTRY_IMAGE
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
- docker push $CI_REGISTRY_IMAGE - docker push $CI_REGISTRY_IMAGE