Skip to content

Commit

Permalink
push multi arch container
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuism committed Jan 10, 2025
1 parent ffbad3c commit ed643b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,13 @@ jobs:

- name: Build and publish OCI image
run: |
pack build ghcr.io/bhuism/pseudoniemenservice \
pack build ghcr.io/bhuism/pseudoniemenservice:latest-${{ matrix.platform }} \
--builder docker.io/paketobuildpacks/builder-jammy-buildpackless-tiny \
--buildpack gcr.io/paketo-buildpacks/java-native-image \
--publish \
--env BP_NATIVE_IMAGE=true \
--env BP_MAVEN_ACTIVE_PROFILES=native
- name: Build and push Docker image
run: |
docker push yourusername/yourimage:latest-${{ matrix.platform }}

0 comments on commit ed643b4

Please sign in to comment.