From 9141025fa41003d3f6ea395251a8d6bdf960aa2e Mon Sep 17 00:00:00 2001 From: jhot Date: Wed, 1 Nov 2023 13:37:53 -0600 Subject: [PATCH] Setup builder before push --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.yml b/.drone.yml index 55325fa..bc9e121 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,6 +29,7 @@ steps: commands: - docker login code.jhot.me -u drone -p $PASSWORD - tag=$${DRONE_TAG:-$DRONE_BRANCH} # set tag to tag name (if applicable) or branch name + - task setup-buildx BUILDER_NAME=builder${DRONE_COMMIT_SHA}${DRONE_BUILD_NUMBER} - task push TAG=$tag when: event: @@ -47,6 +48,7 @@ steps: path: /var/run/docker.sock commands: - docker login code.jhot.me -u drone -p $PASSWORD + - task setup-buildx BUILDER_NAME=builder${DRONE_COMMIT_SHA}${DRONE_BUILD_NUMBER} - task push TAG=main when: branch: