Skip to content

Commit

Permalink
使用runs-on matrix運行多平臺
Browse files Browse the repository at this point in the history
  • Loading branch information
Keycatowo committed May 22, 2023
1 parent 808f0a9 commit b44c1a0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm64
steps:
-
name: Checkout
Expand All @@ -33,5 +39,4 @@ jobs:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit b44c1a0

Please sign in to comment.