Build container image with support for both Linux/amd64 and Linux/arm64 platforms.

This commit is contained in:
Henry Rausch 2023-11-16 23:37:00 +01:00
parent 2b1cfa0787
commit 53bdc596a5
No known key found for this signature in database
GPG Key ID: A6BD2929733D78DD

View File

@ -12,6 +12,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Build container image - name: Build container image
platforms: linux/amd64,linux/arm64
run: | run: |
docker build \ docker build \
--tag ghcr.io/cp6/my-idlers:$(echo $GITHUB_SHA | head -c7) \ --tag ghcr.io/cp6/my-idlers:$(echo $GITHUB_SHA | head -c7) \