Skip to content

Commit

Permalink
Updated Build.yml to create a linux/arm64 arch when building bug fix …
Browse files Browse the repository at this point in the history
…to ensure github actions is on arm64
  • Loading branch information
phammings committed Aug 14, 2024
1 parent 78673fc commit e2cd35a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, arm64]
steps:
- uses: actions/checkout@v2
- name: Set up JDK 21
Expand All @@ -24,7 +24,7 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build
run: mvn clean spring-boot:build-image -Dmaven.test.skip=true -Dspring-boot.build-image.environment.BP_PLATFORM=linux/arm64
run: mvn clean spring-boot:build-image -Dmaven.test.skip=true
- name: get-pom-version
run: |
echo "POM_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
Expand Down

0 comments on commit e2cd35a

Please sign in to comment.