From 0bfad9fe1feeff50f630c3304eaaa17ebe3899a4 Mon Sep 17 00:00:00 2001 From: ashnamehrotra Date: Wed, 9 Aug 2023 00:08:33 +0000 Subject: [PATCH] use buildx to build and push --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6586af0c6..33ed9981d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,5 +49,4 @@ jobs: - name: Build and push copa-action image with new version run: | tag="$(echo "${{ github.ref }}" | tr -d 'refs/tags/v')" - docker build --build-arg copa_version=${tag} -t ghcr.io/project-copacetic/copa-action:v"$tag" . - docker push ghcr.io/project-copacetic/copa-action:v"$tag" + docker buildx build --build-arg copa_version=${tag} -t ghcr.io/project-copacetic/copa-action:v"$tag" --push .