diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 21ff5b6..e6d7e1a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -25,18 +25,23 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push + - name: Build and push part 1 uses: docker/build-push-action@v5 with: push: true platforms: | linux/amd64 linux/arm64 - linux/arm/v5 + tags: ghcr.io/btclock/${{ env.IMAGE_NAME }}:latest + cache-from: type=gha + cache-to: type=gha,mode=max + - name: Build and push part 2 + uses: docker/build-push-action@v5 + with: + push: true + platforms: | linux/arm/v7 linux/arm64/v8 - linux/ppc64le - linux/s390x tags: ghcr.io/btclock/${{ env.IMAGE_NAME }}:latest cache-from: type=gha cache-to: type=gha,mode=max \ No newline at end of file