Skip to content

Conversation

@Dasux
Copy link

@Dasux Dasux commented Nov 25, 2025

This PR addresses issue #6511.

Following the maintainer’s guidance, this updates the Docker workflow to use the outputs of docker/metadata-action not only for annotations but also for image labels.
The goal is to ensure the metadata generated by the action is fully utilized in the build-and-push step, aligning the workflow with the examples shown in the upstream docker metadata documentation.

If anything else should be added or adjusted, I’m happy to iterate further.

@github-actions github-actions bot added the CI Continuous integration label Nov 25, 2025
@echoix
Copy link
Member

echoix commented Nov 25, 2025

It still looks like it is adding a new workflow. Can you review your PR, try it on your fork, and let us know when we should look at it again?

@Dasux
Copy link
Author

Dasux commented Nov 26, 2025

Thanks for pointing that out — I’ve reviewed the PR again and removed the stray workflow file.
I’ve verified the updated branch on my fork as well.
One thing I'd like to mention...

I tested this on my fork, and the workflow runs fine — but the labels: field in the build output still shows empty values.
Is this expected behavior inside forks, or am I missing something about when these metadata values actually populate?
image

Copy link
Member

@echoix echoix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Im reading about how labels should be created by the action. In case I still can't be sure, I would be comfortable to merge and try to fix after

Comment on lines +202 to +203


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert?

@echoix echoix changed the title Add docker labels from metadata CI(docker): Add docker labels from metadata Nov 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants