Skip to content
Snippets Groups Projects
Commit 7389e849 authored by Anders Harrisson's avatar Anders Harrisson
Browse files

Use CI_COMMIT_REF_SLUG as container image tag in CI pipeline

parent 78f6aadb
No related branches found
No related tags found
No related merge requests found
variables: variables:
CONTAINER_BRANCH_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME CONTAINER_BRANCH_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
stages: stages:
- compile - compile
...@@ -94,7 +94,7 @@ docker-release: ...@@ -94,7 +94,7 @@ docker-release:
script: script:
- > - >
awx job_templates launch ${AWX_JOB_TEMPLATE} awx job_templates launch ${AWX_JOB_TEMPLATE}
--extra_vars "naming_container_image_tag: $CI_COMMIT_REF_NAME" --extra_vars "naming_container_image_tag: $CI_COMMIT_REF_SLUG"
--monitor --monitor
dependencies: [] dependencies: []
only: only:
......
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