Skip to content
Snippets Groups Projects
Verified Commit 08ed5be6 authored by Martin Weise's avatar Martin Weise
Browse files
parent 70da9bcf
Branches
No related tags found
No related merge requests found
......@@ -524,7 +524,7 @@ release-images:
image: docker:${DOCKER_VERSION}-dind
variables:
BUILDX_BAKE_ARGS: --allow=network.host --load
BUILDX_BUILD_ARGS: --builder=multiarch --load
BUILDX_BUILD_ARGS: --platform=$SUPPORTED_PLATFORMS --builder=multiarch --output="type=image"
dependencies:
- clean-images
- test-analyse-service
......@@ -546,7 +546,7 @@ release-images:
- "echo ${CI_REGISTRY2_PASSWORD} | docker login --username ${CI_REGISTRY2_USER} --password-stdin ${CI_REGISTRY2_URL}"
- "docker buildx create --name multiarch --driver docker-container --use"
script:
- "docker buildx build $BUILDX_BUILD_ARGS --platform=$SUPPORTED_PLATFORMS -t dbrepo-core ./lib/java/dbrepo-core"
- "docker buildx build $BUILDX_BUILD_ARGS -t dbrepo-core ./lib/java/dbrepo-core"
- "docker buildx bake $BUILDX_BAKE_ARGS"
- REPOSITORY_URL=$CI_REGISTRY_URL make release-images
- REPOSITORY_URL=$CI_REGISTRY2_URL make release-images
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment