You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As our application is more likely to be deployed in K8s (or at least Docker/compose), we need to build OCI images.
To optimize CI build, we can just build images while in PR, and then, build and push artifact to GHCR while on main.
Since we use a "hack" to build our application by removing --link-at-build-time argument of native-image, we can't simply rely on Quarkus built-in commands like :build -Dquarkus.native.container-build=true -Dquarkus.package.type=native.
We need to do a multi-stage build by sending to context our patched native-image.args.
Refer to Dockerfile.mandrel-builder for full details.
The text was updated successfully, but these errors were encountered:
Description
As our application is more likely to be deployed in K8s (or at least Docker/compose), we need to build OCI images.
To optimize CI build, we can just build images while in PR, and then, build and push artifact to GHCR while on
main
.Since we use a "hack" to build our application by removing
--link-at-build-time
argument ofnative-image
, we can't simply rely on Quarkus built-in commands like:build -Dquarkus.native.container-build=true -Dquarkus.package.type=native
.We need to do a multi-stage build by sending to context our patched
native-image.args
.Refer to
Dockerfile.mandrel-builder
for full details.The text was updated successfully, but these errors were encountered: