only build for armv7 for the moment

This commit is contained in:
Micha Gläß-Stöcker 2021-04-15 12:03:53 +02:00
parent 46c69f55a6
commit 9460a7b4db

View file

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