mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -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
|
name: gcr.io/kaniko-project/executor:debug
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
script:
|
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
|
/kaniko/executor
|
||||||
--context "${CI_PROJECT_DIR}"
|
--context "${CI_PROJECT_DIR}"
|
||||||
|
@ -317,7 +317,7 @@ merge-manifests:
|
||||||
name: mplatform/manifest-tool:alpine
|
name: mplatform/manifest-tool:alpine
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
script:
|
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
|
manifest-tool
|
||||||
--username="${CI_REGISTRY_USER}"
|
--username="${CI_REGISTRY_USER}"
|
||||||
|
@ -342,7 +342,7 @@ tag-container-release:
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
variables:
|
variables:
|
||||||
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
|
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
|
||||||
RELEASE_TAG: $CI_REGISTRY_IMAGE:stable
|
RELEASE_TAG: $CI_REGISTRY_IMAGE:latest
|
||||||
script:
|
script:
|
||||||
- echo "Tagging docker image with stable tag"
|
- echo "Tagging docker image with stable tag"
|
||||||
- echo -n "$CI_JOB_TOKEN" | podman login -u gitlab-ci-token --password-stdin $CI_REGISTRY
|
- 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