test multiarch
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-01-10 15:35:24 +01:00
parent 58e2d6b50a
commit af5f55e374
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 5 additions and 5 deletions

View File

@ -73,7 +73,7 @@ local PipelineBuildContainer(arch='amd64') = {
commands: [
'docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"',
'docker buildx create --use',
'docker buildx build --push --platform linux/' + std.strReplace(arch, '_', '/') + ' --tag thegeeklab/buildx-alpine:latest-' + std.split(arch, '_')[0] + ' .',
'docker buildx build --push --platform linux/' + std.strReplace(arch, '_', '/') + ' --tag thegeeklab/buildx-alpine:' + std.split(arch, '_')[0] + ' .',
],
environment: {
DOCKER_PASSWORD: { from_secret: 'docker_password' },

View File

@ -67,7 +67,7 @@ steps:
commands:
- docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"
- docker buildx create --use
- docker buildx build --push --platform linux/amd64 --tag thegeeklab/buildx-alpine:latest-amd64 .
- docker buildx build --push --platform linux/amd64 --tag thegeeklab/buildx-alpine:amd64 .
environment:
DOCKER_PASSWORD:
from_secret: docker_password
@ -153,7 +153,7 @@ steps:
commands:
- docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"
- docker buildx create --use
- docker buildx build --push --platform linux/arm64/v8 --tag thegeeklab/buildx-alpine:latest-arm64 .
- docker buildx build --push --platform linux/arm64/v8 --tag thegeeklab/buildx-alpine:arm64 .
environment:
DOCKER_PASSWORD:
from_secret: docker_password
@ -239,7 +239,7 @@ steps:
commands:
- docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"
- docker buildx create --use
- docker buildx build --push --platform linux/arm/v7 --tag thegeeklab/buildx-alpine:latest-arm .
- docker buildx build --push --platform linux/arm/v7 --tag thegeeklab/buildx-alpine:arm .
environment:
DOCKER_PASSWORD:
from_secret: docker_password
@ -349,6 +349,6 @@ depends_on:
---
kind: signature
hmac: c62f6674c69502af0442907a8c84b281505900de4684cfe78cd868054c62a1b5
hmac: 76e555af40a68c0e75b0fcb3a67ec222aa8ac8034baf2787a753323fb4a0f58c
...