fix: Put image tagging into last build step
This commit is contained in:
parent
fdee5fa700
commit
c546fba408
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue