1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-12-01 05:43:04 +00:00

chore(gha): upgrade github checkout action, don't create arm images for CI, add qemu

هذا الالتزام موجود في:
Adam Cooke
2024-03-01 13:08:11 +00:00
الأصل 0b468f97c5
التزام a9ade3c8bc

عرض الملف

@@ -21,7 +21,7 @@ jobs:
name: CI Image Build name: CI Image Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: docker/setup-buildx-action@v2 - uses: docker/setup-buildx-action@v2
@@ -37,14 +37,14 @@ jobs:
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max
target: ci target: ci
platforms: linux/amd64,linux/arm64/v8 platforms: linux/amd64
test: test:
name: Test Suite name: Test Suite
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: docker/login-action@v2 - uses: docker/login-action@v2
@@ -65,7 +65,8 @@ jobs:
needs: [build] needs: [build]
if: startsWith(github.ref, 'refs/heads/') if: startsWith(github.ref, 'refs/heads/')
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v2 - uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2 - uses: docker/login-action@v2
with: with:
@@ -87,7 +88,7 @@ jobs:
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max
target: full target: full
platforms: linux/amd64,linux/arm64/v8 platforms: linux/amd64
publish-image: publish-image:
name: Publish Image name: Publish Image
@@ -95,7 +96,8 @@ jobs:
needs: [build, test, release-please] needs: [build, test, release-please]
if: ${{ needs.release-please.outputs.release_created }} if: ${{ needs.release-please.outputs.release_created }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v2 - uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2 - uses: docker/login-action@v2
with: with: