From 828945521e08301c23d58051bd0ead062eaeeb39 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 10 Jan 2021 00:43:01 +0100 Subject: [PATCH] debug --- .drone.yml | 41 ++++++++++++----------------------------- 1 file changed, 12 insertions(+), 29 deletions(-) diff --git a/.drone.yml b/.drone.yml index 657d1ea..5d31457 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,10 +37,7 @@ steps: - name: dryrun image: jdrouet/docker-with-buildx:stable commands: - - docker version - - docker buildx ls - docker buildx create --use - - docker buildx ls - docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag thegeeklab/${DRONE_REPO_NAME}:latest . volumes: - name: dockersock @@ -66,33 +63,19 @@ steps: - wait-for - name: publish-dockerhub - image: plugins/docker:19 - settings: - dockerfile: Dockerfile - password: + image: jdrouet/docker-with-buildx:stable + commands: + - docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD" + - docker buildx create --use + - docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag thegeeklab/${DRONE_REPO_NAME}:latest . + environment: + DOCKER_PASSWORD: from_secret: docker_password - repo: thegeeklab/${DRONE_REPO_NAME} - username: + DOCKER_USERNAME: from_secret: docker_username - environment: - DOCKER_BUILDKIT: 1 - when: - ref: - - refs/heads/main - - refs/tags/** - depends_on: - - tags - -- name: publish-quay - image: plugins/docker:19 - settings: - dockerfile: Dockerfile - password: - from_secret: quay_password - registry: quay.io - repo: quay.io/thegeeklab/${DRONE_REPO_NAME} - username: - from_secret: quay_username + volumes: + - name: dockersock + path: /var/run when: ref: - refs/heads/main @@ -203,6 +186,6 @@ depends_on: --- kind: signature -hmac: 91cf547b368ff043cd62db7c317e57a34fe3f1dcf9bbfbc4346d8f46b59ed21f +hmac: 6f3550035ea1332afe69f46751b6b54ef4472aa674c4ac732b064659e39ad21c ...