fix: Put image tagging into last build step

This commit is contained in:
Robert Prehn 2021-01-13 15:47:21 -06:00
parent fdee5fa700
commit c546fba408

View file

@ -1,5 +1,6 @@
stages: stages:
- test - test
- deploy_tags
- deploy - deploy
cache: cache:
@ -36,7 +37,7 @@ build_image_for_commit:
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
deploy_to_tags: deploy_to_tags:
stage: deploy stage: deploy_tags
needs: ['test'] needs: ['test']
image: "node:15.0" image: "node:15.0"
only: only: