ci: enable aarch64 container builds
Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
parent
119e8fcffa
commit
38af61d633
1 changed files with 4 additions and 1 deletions
5
.github/workflows/container.yaml
vendored
5
.github/workflows/container.yaml
vendored
|
|
@ -16,6 +16,9 @@ jobs:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
|
|
@ -40,7 +43,7 @@ jobs:
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64,linux/arm64
|
||||||
file: ./Containerfile
|
file: ./Containerfile
|
||||||
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
|
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
|
||||||
cache-from: type=registry,ref=ghcr.io/osbuild/image-builder-cli:latest
|
cache-from: type=registry,ref=ghcr.io/osbuild/image-builder-cli:latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue