Commit fbc8d99b authored by Simon Chabot's avatar Simon Chabot
Browse files

ci: only deploy latest image when it's published

parent 9b92803838fd
......@@ -69,8 +69,8 @@ deploy_review:
name: lachlanevenson/k8s-kubectl:latest
stage: deploy
# rules:
# - if: '$CI_COMMIT_REF_NAME == "branch/default"'
- if: '$CI_COMMIT_REF_NAME == "branch/default"'
- kubectl version
- sed "$CI_REGISTRY_IMAGE:latest@" deploy/deployment.yaml | kubectl -n intranet apply -f -
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment