test multiarch
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2021-01-10 15:31:51 +01:00
parent 9c208de7eb
commit 58e2d6b50a
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: [ commands: [
'docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"', 'docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"',
'docker buildx create --use', 'docker buildx create --use',
'docker buildx build --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:latest-' + std.split(arch, '_')[0] + ' .',
], ],
environment: { environment: {
DOCKER_PASSWORD: { from_secret: 'docker_password' }, DOCKER_PASSWORD: { from_secret: 'docker_password' },

View File

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