Trying multiarch different

This commit is contained in:
Djuri 2024-06-11 10:07:07 +02:00
parent d5847a24cd
commit f6c0f3c180

View file

@ -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