From e8ed28554f631d8c445e91d944a0efc9a50b0938 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Mon, 20 Feb 2023 00:03:17 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B2=D0=B5=D1=80=D0=BD=D1=83=D0=BB=20buildx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index b6df29e..2205f49 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,10 +20,10 @@ steps: commands: - sleep 15 - echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin - # - docker buildx create --use - # - docker buildx build --push --platform linux/amd64,linux/arm64/v8 -t "$DOCKER_IMAGE_NAME:latest" . - - docker build -t "$DOCKER_IMAGE_NAME:latest" . - - docker push "$DOCKER_IMAGE_NAME:latest" + - docker buildx create --use + - docker buildx build --push --platform linux/amd64,linux/arm64/v8 -t "$DOCKER_IMAGE_NAME:latest" . + # - docker build -t "$DOCKER_IMAGE_NAME:latest" . + # - docker push "$DOCKER_IMAGE_NAME:latest" trigger: branch: