Skip to content

Commit

Permalink
Update maven-docker.yml
Browse files Browse the repository at this point in the history
Add Multi-platform support for linux
  • Loading branch information
keke125 committed May 28, 2023
1 parent ceae6f0 commit fb74d0a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/maven-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm/v6
- linux/arm/v7
- linux/arm64

steps:
- uses: actions/checkout@v3
Expand All @@ -34,6 +42,7 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
java-package: 'jre'
cache: maven
- name: Build with Maven
run: ./mvnw clean package -Pproduction
Expand Down

0 comments on commit fb74d0a

Please sign in to comment.