Skip to content

Commit

Permalink
update the workflows to test the artifacts and docker images on arm64…
Browse files Browse the repository at this point in the history
… runners
  • Loading branch information
arturcic committed Oct 31, 2024
1 parent d2954bc commit 23b0b3e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,17 @@ jobs:
-
name: Set up Docker
uses: crazy-max/ghaction-setup-docker@v3
if: inputs.runner != 'ubuntu-latest-arm64'
with:
daemon-config: '{ "features": { "containerd-snapshotter": true } }'
-
name: Setup QEMU
uses: docker/setup-qemu-action@v3
if: inputs.runner != 'ubuntu-latest-arm64'
-
name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
if: inputs.runner != 'ubuntu-latest-arm64'
with:
version: 'latest'
driver-opts: 'image=moby/buildkit:buildx-stable-1'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/_docker_manifests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@ jobs:
-
name: Set up Docker
uses: crazy-max/ghaction-setup-docker@v3
if: inputs.runner != 'ubuntu-latest-arm64'
with:
daemon-config: '{ "features": { "containerd-snapshotter": true } }'
-
name: Setup QEMU
uses: docker/setup-qemu-action@v3
if: inputs.runner != 'ubuntu-latest-arm64'
-
name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
if: inputs.runner != 'ubuntu-latest-arm64'
with:
version: 'latest'
driver-opts: 'image=moby/buildkit:buildx-stable-1'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- arch: amd64
runner: ubuntu-latest
- arch: arm64
runner: ubuntu-latest
runner: ubuntu-latest-arm64
uses: ./.github/workflows/_artifacts_linux.yml
with:
runner: ${{ matrix.runner }}
Expand All @@ -90,7 +90,7 @@ jobs:
- arch: amd64
runner: ubuntu-latest
- arch: arm64
runner: ubuntu-latest
runner: ubuntu-latest-arm64

uses: ./.github/workflows/_docker.yml
with:
Expand Down

0 comments on commit 23b0b3e

Please sign in to comment.