Skip to content

Commit 8b5ae64

Browse files
fix(ci): Swapped to buildx.
Signed-off-by: Johannes Tegnér <johannes@jitesoft.com>
1 parent dfab317 commit 8b5ae64

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,10 @@ containerize:
4242
- when: never
4343
image: registry.gitlab.com/jitesoft/dockerfiles/misc:latest
4444
script:
45-
- docker build -t ${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG} --build-arg "VERSION=${CI_COMMIT_TAG}" -f cc-gen/Dockerfile .
46-
- docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}
45+
- docker buildx build --platforms linux/amd64 --push -t ${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG} --build-arg "VERSION=${CI_COMMIT_TAG}" -f cc-gen/Dockerfile .
4746
tags:
48-
- jitesoft
4947
- protected
50-
- amd64
51-
- docker
48+
- buildx
5249

5350
create_release:
5451
stage: pre-release

0 commit comments

Comments
 (0)