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 Jul 22, 2024
1 parent d5d9033 commit a596f3a
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 @@ -48,14 +48,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 @@ -35,14 +35,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 @@ -68,7 +68,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 @@ -84,7 +84,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 a596f3a

Please sign in to comment.