From 93fba72a14e0d0b5f76095d12fb0c98c0f6df60d Mon Sep 17 00:00:00 2001 From: Naphat Sanguansin Date: Tue, 10 Oct 2023 18:53:24 -0700 Subject: [PATCH] bring back docker release workflow (#17) --- .github/workflows/build-and-push-docker.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-and-push-docker.yml b/.github/workflows/build-and-push-docker.yml index d6b1418..c99bbc3 100644 --- a/.github/workflows/build-and-push-docker.yml +++ b/.github/workflows/build-and-push-docker.yml @@ -44,6 +44,14 @@ jobs: - uses: actions/setup-go@v4 with: go-version: "1.20" + - name: Build and push Docker + uses: docker/build-push-action@v4 + with: + platforms: linux/amd64,linux/arm64 + push: true + tags: | + ${{ env.PUBLIC_REGISTRY }}/pvn-wrapper:latest + ${{ env.PUBLIC_REGISTRY }}/pvn-wrapper:${{ github.sha }} - uses: goreleaser/goreleaser-action@v4 with: distribution: goreleaser