Update tagged-build.yml (skip CI)
This commit is contained in:
parent
61f3371d7b
commit
9aab952c5f
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue