Skip to content

Commit

Permalink
Use multi platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesChou committed Oct 31, 2024
1 parent 499f2c8 commit 0809055
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
dockerfile: 8.3/Dockerfile
platforms: linux/amd64,linux/arm64

build:
runs-on: ubuntu-latest
Expand All @@ -38,6 +39,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
dockerfile: ${{ matrix.version }}/Dockerfile
platforms: linux/amd64,linux/arm64

latest_v1:
runs-on: ubuntu-latest
Expand All @@ -52,6 +54,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
dockerfile: 8.3/v1/Dockerfile
platforms: linux/amd64,linux/arm64

build_v1:
runs-on: ubuntu-latest
Expand All @@ -68,6 +71,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
dockerfile: ${{ matrix.version }}/v1/Dockerfile
platforms: linux/amd64,linux/arm64

testing:
needs: [latest, build, latest_v1, build_v1]
Expand Down

0 comments on commit 0809055

Please sign in to comment.