mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Build multi-arch image.
This will build only those architectures that we have runners to build on
This commit is contained in:
parent
9b689a105e
commit
c4c22fa2a0
1 changed files with 0 additions and 22 deletions
|
@ -300,27 +300,6 @@ build-container:
|
||||||
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
||||||
--destination "${CI_REGISTRY_IMAGE}:${TAG}_${ARCH}"
|
--destination "${CI_REGISTRY_IMAGE}:${TAG}_${ARCH}"
|
||||||
|
|
||||||
merge-manifests:
|
|
||||||
variables:
|
|
||||||
TAG: latest
|
|
||||||
stage: container-build
|
|
||||||
needs:
|
|
||||||
- job: build-container
|
|
||||||
artifacts: false
|
|
||||||
image:
|
|
||||||
name: mplatform/manifest-tool:alpine
|
|
||||||
entrypoint: [""]
|
|
||||||
script:
|
|
||||||
- if [ -n "$CI_COMMIT_TAG" ]; then export TAG="$CI_COMMIT_TAG"; fi
|
|
||||||
- >-
|
|
||||||
manifest-tool
|
|
||||||
--username="${CI_REGISTRY_USER}"
|
|
||||||
--password="${CI_REGISTRY_PASSWORD}"
|
|
||||||
push from-args
|
|
||||||
--platforms linux/amd64,linux/arm64,linux/s390x
|
|
||||||
--template "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}_ARCH"
|
|
||||||
--target "${CI_REGISTRY_IMAGE}:${TAG}"
|
|
||||||
|
|
||||||
merge-manifests:
|
merge-manifests:
|
||||||
variables:
|
variables:
|
||||||
TAG: latest
|
TAG: latest
|
||||||
|
@ -341,4 +320,3 @@ merge-manifests:
|
||||||
--platforms linux/amd64,linux/arm64,linux/s390x
|
--platforms linux/amd64,linux/arm64,linux/s390x
|
||||||
--template "${CI_REGISTRY_IMAGE}:${TAG}_ARCH"
|
--template "${CI_REGISTRY_IMAGE}:${TAG}_ARCH"
|
||||||
--target "${CI_REGISTRY_IMAGE}:${TAG}"
|
--target "${CI_REGISTRY_IMAGE}:${TAG}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue