Update .gitlab-ci.yml

This commit is contained in:
Patrick Jentsch 2019-03-11 23:50:32 +01:00
parent b8d33e92d1
commit eb9f8cf2f8

View File

@ -9,7 +9,5 @@ before_script:
build: build:
stage: build stage: build
script: script:
- docker build --pull -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG . - docker build --pull -t $CI_REGISTRY_IMAGE .
- 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