From e613d22b711b2181570c9cc5012cc4316c56fb56 Mon Sep 17 00:00:00 2001 From: kevkevin Date: Fri, 25 Aug 2023 10:28:48 -0500 Subject: [PATCH] modified action to use the correct file since I used it too early in the command (#755) --- .github/workflows/docker-swarm-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-swarm-build.yml b/.github/workflows/docker-swarm-build.yml index 732f8393d..9c4c6bfe8 100644 --- a/.github/workflows/docker-swarm-build.yml +++ b/.github/workflows/docker-swarm-build.yml @@ -48,7 +48,7 @@ jobs: echo ${{ env.RELEASE_TAG }} - name: Run Docker buildx run: | - docker -f Dockerfile.swarm buildx build \ + docker buildx build -f Dockerfile.swarm \ --cache-from "type=local,src=/tmp/.buildx-cache" \ --cache-to "type=local,dest=/tmp/.buildx-cache" \ --platform linux/amd64,linux/arm64/v8,linux/arm/v7 \ @@ -56,7 +56,7 @@ jobs: --output "type=registry" ./ - name: Run Docker buildx with latest tag run: | - docker -f Dockerfile.swarm buildx build \ + docker buildx build -f Dockerfile.swarm \ --cache-from "type=local,src=/tmp/.buildx-cache" \ --cache-to "type=local,dest=/tmp/.buildx-cache" \ --platform linux/amd64,linux/arm64/v8,linux/arm/v7 \