From a07265fbece73b49cef95d99dbf54d4a4dd457e3 Mon Sep 17 00:00:00 2001 From: Vic Wong Date: Tue, 24 Dec 2024 15:13:17 -0800 Subject: [PATCH] feat: add arm64/amd64 docker builds to release-please ci --- .github/workflows/release-please.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 381f331d..7338351d 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -71,3 +71,22 @@ jobs: - name: Publish Python 🐍 distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Build and push + uses: docker/build-push-action@v6 + with: + platforms: linux/amd64,linux/arm64 + push: true + tags: vicwomg/pikaraoke:latest