test buildx multiarch support #13

Merged
xoxys merged 10 commits from buildx into main 2021-01-09 23:47:29 +00:00
Showing only changes of commit 3ddfa75d63 - Show all commits

View File

@ -38,7 +38,7 @@ steps:
image: jdrouet/docker-with-buildx:stable image: jdrouet/docker-with-buildx:stable
commands: commands:
- docker buildx create --use - docker buildx create --use
- docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag thegeeklab/${DRONE_REPO_NAME}:latest . - docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag thegeeklab/buildx-alpine:latest .
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run path: /var/run
@ -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/arm/v7,linux/arm64/v8,linux/amd64 --tag thegeeklab/${DRONE_REPO_NAME}:latest . - docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag thegeeklab/buildx-alpine:latest .
environment: environment:
DOCKER_PASSWORD: DOCKER_PASSWORD:
from_secret: docker_password from_secret: docker_password
@ -185,6 +185,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: d56948bad090ce9c214ddc1d4024849dc31e9702511eabfc2850db2ab2672891 hmac: fbe5a3e4d5b43aa5074eb9b614cab44043517e5747288eadf7621db6650da6de
... ...