diff options
author | Shelikhoo <xiaokangwang@outlook.com> | 2024-03-27 13:47:16 +0000 |
---|---|---|
committer | Shelikhoo <xiaokangwang@outlook.com> | 2024-04-25 10:02:37 +0100 |
commit | 18f3ac734c81eb9059f99375ce284891b4bd412f (patch) | |
tree | 862ded845bf3e1d47552be2b48765df4342edb2b | |
parent | d40995035fcd6ca5b70ad2e8a47c35bab1a18a00 (diff) | |
download | snowflake-18f3ac734c81eb9059f99375ce284891b4bd412f.tar.gz snowflake-18f3ac734c81eb9059f99375ce284891b4bd412f.zip |
rename stable container tags to latest
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files 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 |