diff --git a/ci-templates/README.adoc b/ci-templates/README.adoc index 568323910b4fa51b19b0b632e288e9e01fd305f7..63c27c7160b04748a3554a0fa5e9b3cb261fe84d 100644 --- a/ci-templates/README.adoc +++ b/ci-templates/README.adoc @@ -23,7 +23,7 @@ The Core pipeline, defined in link:ci-templates/core.yml[], has the following st ** Calls `ddeploy` to generate the docker image ** Renames the image created by ddeploy with different tags and pushes them to the registry. *** Tag `${COMMIT_SHA}` (hash of commit) - *** Tag `${CI_COMMIT_REF_SLUG}` (branch or tag name) + *** Tag `${CI_COMMIT_REF}` (branch or tag name) *** Tag `latest` only on the default branch - Stage: `.post` * Check `bash`/`sh` script syntax diff --git a/ci-templates/industrial-ci-templates.yml b/ci-templates/industrial-ci-templates.yml index 4ab2d62ce61d01deef395e51e87b1a0648212902..81de0f20f0858d5aa1f97d0444aa72f4ba2cc034 100644 --- a/ci-templates/industrial-ci-templates.yml +++ b/ci-templates/industrial-ci-templates.yml @@ -19,7 +19,7 @@ variables: DOCKER_PUSH_REGISTRY: ${ARTIFACT_DOCKER_URL} DOCKER_PUSH_NAME: ${CI_PROJECT_PATH} - DOCKER_PUSH_TAG: ${CI_COMMIT_REF_SLUG} + DOCKER_PUSH_TAG: ${CI_COMMIT_REF} DDEPLOY_YAML: ddeploy.yaml before_script: - apk add --update python3 git py3-pip git-lfs