Skip to content

GHA: Simplify Container Image Action - #5

Open
oxzi wants to merge 1 commit into
mainfrom
simplification
Open

oxzi wants to merge 1 commit into
mainfrom
simplification

Conversation

@oxzi

@oxzi oxzi commented Nov 11, 2026

Copy link
Copy Markdown
Member

Drop the "Prepare metadata" stage and only use the "docker/metadata-action". This is possible as no backports or the like are necessary here.

Suffix the Debian version instead of prefixing, following conventions.

Furthermore, make the base container name configurable for the test image, and add a big warning to the README.


Fixes #4.

.github/workflows/container-image.yml builds the containers twice, once for testing it, and then again for pushing it. Any chance of reducing this to a single build so that the same image ist tested and then pushed?

This does not seem to be possible with the docker/build-push-action action, but since a local build cache should be used, I don't see much harm in doing so.

Drop the "Prepare metadata" stage and only use the
"docker/metadata-action". This is possible as no backports or the like
are necessary here.

Suffix the Debian version instead of prefixing, following conventions.

Furthermore, make the base container name configurable for the test
image, and add a big warning to the README.
@oxzi
oxzi requested a review from julianbrost November 11, 2026 15:49
@cla-bot cla-bot Bot added the cla/signed CLA is signed by all contributors of a PR label Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed CLA is signed by all contributors of a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Initial review

1 participant