Conversation
…ontainer workflows and update documentation
📝 WalkthroughWalkthroughThree GitHub Actions workflow files are modified to enable multi-architecture Docker image builds by adding QEMU and Docker Buildx setup steps prior to the build process, and configuring the build-push-action to target both linux/amd64 and linux/arm64 platforms. Documentation is updated to reflect the new multi-arch image outputs in the artifact descriptions. Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Beschreibung:
Dieser PR fügt Multi-Arch-Unterstützung (AMD64 und ARM64) für alle Container-Images hinzu.
Änderungen:
callable-create-github-container-image.ymlcallable-create-github-container-image_java21.ymlcallable-create-github-container-image-frontend.ymllinux/amd64,linux/arm64gesetztBei der Umsetzung wurde sich an der offiziellen Dokumentation orientiert.
Die Commits zum Pinnen der Workflow-Versionen wurden aus den jeweils neuen Versions-Tags geholt: QEMU und Buildx
Es wurde im Vorfeld überprüft, dass alle Base-Images die in den Dockerfiles genutzt werden, Multi-Arch-Images sind:
registry.access.redhat.com/ubi8/openjdk-17:latest@sha256:a08703024a431617209636f80c3ccc172c7ea414187679f03b05d0dd81516bbfregistry.access.redhat.com/ubi9/openjdk-21-runtime:1.24-2.1767878250@sha256:84a136ce036ebde3adc502c84c39f22bd4bf14ca387a3825cf3e1c7ae26c0942registry.access.redhat.com/ubi9/nginx-124:9.7-1767846424@sha256:a75f10d71969dd2451914df6539dea28f8e2c88506f691ea211768a0bd0746d1-> Getestet werden kann das mit
docker buildx imagetools inspect <image>:<tag>Vorteile:
Review-Hinweise:
Die Workflows bauen nun für beide Architekturen. Die Build-Zeit in der CI/CD-Pipeline wird sich dadurch etwas erhöhen, da beide Architekturen gebaut werden müssen.
Durch Caching könnte man die Build-Zeit bei Bedarf wieder reduzieren.
Ich habe einen der Workflows zum Testen in meinem Fork ausgeführt, das erstellte Image ist Multi-Arch:
Zum Testen:
docker buildx imagetools inspect ghcr.io/kugellibelle/wahllokalsystem-wls-auth-service@sha256:d281f74b63719e2aaeb99632e674b9de02b13cfe852db127a5ae2d1e7bcdb9cfDefinition of Done (DoD):
Dokumentation
Referenzen:
Closes #2393
Summary by CodeRabbit
Chores
Documentation