From 18f3ac734c81eb9059f99375ce284891b4bd412f Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Wed, 27 Mar 2024 13:47:16 +0000 Subject: rename stable container tags to latest --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c651ee..e603010 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -296,7 +296,7 @@ build-container: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] script: - - if [ $CI_COMMIT_REF_NAME == "main" ]; then export TAG='latest'; fi + - if [ $CI_COMMIT_REF_NAME == "main" ]; then export TAG='nightly'; fi - >- /kaniko/executor --context "${CI_PROJECT_DIR}" @@ -317,7 +317,7 @@ merge-manifests: name: mplatform/manifest-tool:alpine entrypoint: [""] script: - - if [ $CI_COMMIT_REF_NAME == "main" ]; then export TAG='latest'; fi + - if [ $CI_COMMIT_REF_NAME == "main" ]; then export TAG='nightly'; fi - >- manifest-tool --username="${CI_REGISTRY_USER}" @@ -342,7 +342,7 @@ tag-container-release: allow_failure: false variables: IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG - RELEASE_TAG: $CI_REGISTRY_IMAGE:stable + RELEASE_TAG: $CI_REGISTRY_IMAGE:latest script: - echo "Tagging docker image with stable tag" - echo -n "$CI_JOB_TOKEN" | podman login -u gitlab-ci-token --password-stdin $CI_REGISTRY -- cgit v1.2.3-54-g00ecf