Build container image with support for both Linux/amd64 and Linux/arm64 platforms.
This commit is contained in:
parent
2b1cfa0787
commit
53bdc596a5
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
@ -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) \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user