Skip to content

Commit

Permalink
⚙️ refactor(.github/workflows/gradle-build.yml): Combine and optimi…
Browse files Browse the repository at this point in the history
…ze Gradle commands for building images.
  • Loading branch information
vnobo committed Dec 23, 2024
1 parent 784a4b5 commit 0425beb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ jobs:
- name: Execute Gradle Plate bootBuildImage
run: |
chmod +x ./gradlew
./gradlew build --scan
./gradlew bootBuildImage --imagePlatform=linux/amd64 --network=host --publishImage
./gradlew bootBuildImage --imagePlatform=linux/arm64 --network=host --publishImage
./gradlew bootBuildImage --imagePlatform=linux/amd64 --network=host --publishImage --scan
./gradlew bootBuildImage --imagePlatform=linux/arm64 --network=host --publishImage --scan
- name: Inspect
run: |
docker buildx imagetools inspect localhost:5000/plate-oauth2:latest
Expand Down

0 comments on commit 0425beb

Please sign in to comment.