Skip to content
Snippets Groups Projects
Commit 40b694b2 authored by Paolo.Brasolin's avatar Paolo.Brasolin
Browse files

ci: listen to tags not main

parent a5bb6e94
No related branches found
No related tags found
No related merge requests found
Pipeline #23169 failed
...@@ -27,10 +27,11 @@ be-build-job: ...@@ -27,10 +27,11 @@ be-build-job:
--target production --target production
--tag=$IMAGE_NAME:${CI_COMMIT_SHA} --tag=$IMAGE_NAME:${CI_COMMIT_SHA}
--tag=$IMAGE_NAME:${CI_COMMIT_REF_NAME} --tag=$IMAGE_NAME:${CI_COMMIT_REF_NAME}
--tag=$IMAGE_NAME:${CI_COMMIT_TAG:-$CI_COMMIT_SHORT_SHA}
backend backend
- docker image push --all-tags $IMAGE_NAME - docker image push --all-tags $IMAGE_NAME
only: only:
- main # TODO: tags - tags
- development - development
#==[ Backend deployment ]======================================================= #==[ Backend deployment ]=======================================================
...@@ -69,8 +70,8 @@ be-prd-deploy-job: ...@@ -69,8 +70,8 @@ be-prd-deploy-job:
variables: variables:
K8S_NAMESPACE: kommul K8S_NAMESPACE: kommul
K8S_DEPLOYMENT: oetzi-prd-deployment K8S_DEPLOYMENT: oetzi-prd-deployment
only: # TODO: only on tag only:
- main - tags
be-stg-deploy-job: be-stg-deploy-job:
extends: .be-deploy-job extends: .be-deploy-job
...@@ -134,8 +135,8 @@ fe-prd-deploy-job: ...@@ -134,8 +135,8 @@ fe-prd-deploy-job:
url: https://eurac.itch.io/oetzi url: https://eurac.itch.io/oetzi
variables: variables:
GAME_NAME: oetzi GAME_NAME: oetzi
only: # TODO: only on tag only:
- main - tags
fe-stg-deploy-job: fe-stg-deploy-job:
extends: .fe-deploy-job extends: .fe-deploy-job
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment