everything seems to work, so build for arm64 and amd64 again

This commit is contained in:
Micha Gläß-Stöcker 2021-04-15 13:27:28 +02:00
parent 7365715b11
commit 5efa0b15b2

View file

@ -47,7 +47,7 @@ deploy:
script: script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker buildx create --use --name mybuilder - docker buildx create --use --name mybuilder
- docker buildx build --platform linux/arm/v7 --push -t $CI_REGISTRY_IMAGE . - docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --push -t $CI_REGISTRY_IMAGE .
only: only:
changes: changes:
- Dockerfile - Dockerfile
@ -89,7 +89,7 @@ weekly:deploy:
script: script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker buildx create --use --name mybuilder - docker buildx create --use --name mybuilder
- docker buildx build --platform linux/arm/v7 --push -t $CI_REGISTRY_IMAGE . - docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --push -t $CI_REGISTRY_IMAGE .
only: only:
- schedules - schedules
- main - main