Skip to content

Commit

Permalink
run in multiple jobs with large runner
Browse files Browse the repository at this point in the history
  • Loading branch information
jac18281828 committed Dec 14, 2023
1 parent eb36d0e commit 8acc988
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion .github/workflows/ci-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- "*"

jobs:
docker:
docker-amd64:
runs-on: ubuntu-latest
steps:
-
Expand Down Expand Up @@ -39,3 +39,32 @@ jobs:
push: false
build-args: |
VERSION=latest
docker-arm64:
runs-on: ubuntu-latest-8core
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/arm64
push: false
build-args: |
VERSION=latest

0 comments on commit 8acc988

Please sign in to comment.