Skip to content

Commit

Permalink
says AMD64ONLY in ./hooks/build
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed May 24, 2024
1 parent c7c2906 commit 77d8d20
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,17 @@ jobs:
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
-
name: Build and push runtime-quarkus
uses: docker/build-push-action@v5
env:
SOURCE_DATE_EPOCH: 0
with:
context: runtime-quarkus
tags: |
ghcr.io/yolean/runtime-quarkus:latest
ghcr.io/yolean/runtime-quarkus:${{ github.sha }}
platforms: linux/amd64
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
2 changes: 1 addition & 1 deletion runtime-quarkus/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# For JNI/snappy such as kafka clients use runtime-quarkus-ubuntu instead

FROM --platform=$TARGETPLATFORM gcr.io/distroless/static-debian12:nonroot@sha256:aa09b5ebfd7181b30717b95a057557389135ac4df8aa78dd07ab8b50ca9954c6
FROM --platform=$TARGETPLATFORM gcr.io/distroless/static-debian12:nonroot@sha256:e9ac71e2b8e279a8372741b7a0293afda17650d926900233ec3a7b2b7c22a246

ENTRYPOINT ["/usr/local/bin/quarkus", "-Djava.util.logging.manager=org.jboss.logmanager.LogManager"]
CMD ["-Dquarkus.http.host=0.0.0.0", "-Dquarkus.http.port=8080"]
Expand Down

0 comments on commit 77d8d20

Please sign in to comment.