From e5be410c4931ce4c021c43456e9d20fe9fb85a91 Mon Sep 17 00:00:00 2001 From: Karan Preet Singh Sasan Date: Thu, 29 Dec 2022 12:51:01 -0800 Subject: [PATCH] Update create-release.yml --- .github/workflows/create-release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 1e6459b..56298d6 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -24,6 +24,13 @@ jobs: id: TAG run: | echo "::set-output name=LATEST_VERSION::$(git tag | sort -Vr | head -n 1)" + - name: Set up QEMU + uses: docker/setup-qemu-action@master + with: + platforms: all + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub uses: docker/login-action@v1 @@ -41,7 +48,10 @@ jobs: name: Push docker images uses: docker/build-push-action@v2 with: + builder: ${{ steps.buildx.outputs.name }} + context: . push: true + platforms: linux/amd64,linux/arm64/v8 tags: | sasanlabs/owasp-vulnerableapp-facade:latest sasanlabs/owasp-vulnerableapp-facade:${{ steps.TAG.outputs.LATEST_VERSION }}