mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
rename stable container tags to latest
This commit is contained in:
parent
d40995035f
commit
18f3ac734c
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue