Skip to content

Commit

Permalink
chore(gha): upgrade github checkout action, don't create arm images f…
Browse files Browse the repository at this point in the history
…or CI, add qemu
  • Loading branch information
adamcooke committed Mar 1, 2024
1 parent 0b468f9 commit a9ade3c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: CI Image Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: docker/setup-buildx-action@v2
Expand All @@ -37,14 +37,14 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
target: ci
platforms: linux/amd64,linux/arm64/v8
platforms: linux/amd64

test:
name: Test Suite
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: docker/login-action@v2
Expand All @@ -65,7 +65,8 @@ jobs:
needs: [build]
if: startsWith(github.ref, 'refs/heads/')
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
Expand All @@ -87,15 +88,16 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
target: full
platforms: linux/amd64,linux/arm64/v8
platforms: linux/amd64

publish-image:
name: Publish Image
runs-on: ubuntu-latest
needs: [build, test, release-please]
if: ${{ needs.release-please.outputs.release_created }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
Expand Down

0 comments on commit a9ade3c

Please sign in to comment.