Skip to content

Commit

Permalink
Provide multi-arch runner images
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdragon-001 authored and barthalion committed Feb 15, 2024
1 parent 4fc7670 commit 79d4438
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
Expand All @@ -77,6 +80,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache
context: .
file: Dockerfile
platforms: linux/amd64,linux/arm64
pull: true
push: true
tags: localhost:5000/base:latest
Expand All @@ -101,6 +105,7 @@ jobs:
allow: security.insecure
context: .
file: ${{ matrix.runtime.name }}.Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/flathub-infra/flatpak-github-actions:${{ matrix.runtime.name }}
cache-from: type=gha
Expand Down

0 comments on commit 79d4438

Please sign in to comment.