Update tagged-build.yml (skip CI)

This commit is contained in:
Phil 2022-02-04 23:08:40 +01:00
parent 61f3371d7b
commit 9aab952c5f

View file

@ -94,17 +94,18 @@ release-prod-windows-amd64:
- branches - branches
docker-build-prod-tagged: docker-build-prod-tagged:
image: ezkrg/buildx image: jdrouet/docker-with-buildx:stable
stage: build-docker stage: build-docker
services: services:
- docker:dind - docker:dind
before_script: before_script:
- docker buildx create --use - docker context create build
- docker buildx create build --use
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script: script:
- | - |
docker buildx build \ docker buildx build \
--platform linux/amd64,linux/arm64 \ --platform linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7 \
--no-cache \ --no-cache \
--build-arg CI_COMMIT_BRANCH=$CI_COMMIT_BRANCH \ --build-arg CI_COMMIT_BRANCH=$CI_COMMIT_BRANCH \
--build-arg CI_COMMIT_SHORT_SHA=$CI_COMMIT_SHORT_SHA \ --build-arg CI_COMMIT_SHORT_SHA=$CI_COMMIT_SHORT_SHA \
@ -115,4 +116,4 @@ docker-build-prod-tagged:
only: only:
- tags - tags
except: except:
- branches - branches