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 authored and GitVersion committed Mar 20, 2024
1 parent 7d026c3 commit e41a38f
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 @@ -40,14 +40,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 @@ -27,14 +27,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 e41a38f

Please sign in to comment.