mirror of
https://git.netzspielplatz.de/docker-multiarch/prosody.git
synced 2025-11-08 20:39:29 +00:00
make build platforms configurable via CI var
This commit is contained in:
parent
b3e399e93c
commit
3d504fbfb0
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ build:
|
|||
script:
|
||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||
- docker buildx create --use --name mybuilder
|
||||
- docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --push -t $IMAGE_TAG .
|
||||
- docker buildx build --platform $BUILD_PLATFORMS --push -t $IMAGE_TAG .
|
||||
- docker pull $IMAGE_TAG
|
||||
- docker tag $IMAGE_TAG $CI_REGISTRY_IMAGE:latest
|
||||
- docker push $CI_REGISTRY_IMAGE:latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue