From 30d73bef8a99c33ddd912f5437d9a76c386fc450 Mon Sep 17 00:00:00 2001 From: Jon Azpiazu <jon.azpiazu@tecnalia.com> Date: Tue, 23 Nov 2021 12:22:07 +0100 Subject: [PATCH] Fix typo --- ci-templates/README.adoc | 2 +- ci-templates/industrial-ci-templates.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci-templates/README.adoc b/ci-templates/README.adoc index 63c27c7..a6b92fb 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}` (branch or tag name) + *** Tag `${CI_COMMIT_REF_NAME}` (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 81de0f2..e8ae2f5 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} + DOCKER_PUSH_TAG: ${CI_COMMIT_REF_NAME} DDEPLOY_YAML: ddeploy.yaml before_script: - apk add --update python3 git py3-pip git-lfs -- GitLab