diff --git a/.github/workflows/push-docker-image.yml b/.github/workflows/push-docker-image.yml index 75e3015..2c2b0c6 100644 --- a/.github/workflows/push-docker-image.yml +++ b/.github/workflows/push-docker-image.yml @@ -31,6 +31,11 @@ jobs: - name: Build and push Docker image uses: docker/build-push-action@v5 with: + platforms: linux/amd64, linux/arm64, darwin/amd64 context: . push: true - tags: ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:${{ github.sha }} + cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:cache + cache-to: type=inline + tags: | + ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:${{ github.sha }} + ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:latest