Skip to content

Conversation

@stumpylog
Copy link

This PR integrates docker/metadata-action to automatically generate Docker image tags and labels following best practices. Although we could use only the labels, I also updated to use the action for outputting the tags information as well, for consistency in setting them in one location. In particular, this could allow disabling of DockerHub tags for forks (which would make it easier to test and contribute change to the CI flow).

Using the metadata action brings in standard OCI labels for information such as image URL, Git revisions, build date & time, description and license. And probably more, all for free.

Comparing the last tags used in the release of 0.0.42, the produced tags are the same, with the addition of:

--label org.opencontainers.image.created=2025-10-29T15:06:58.363Z
--label org.opencontainers.image.description=Open Source Uptime Kuma Alternative
--label org.opencontainers.image.licenses=MIT
--label org.opencontainers.image.revision=29458d423802c5497c12ad18cde59b80d9c9bae3
--label org.opencontainers.image.source=https://github.com/stumpylog/peekaping
--label org.opencontainers.image.title=peekaping
--label org.opencontainers.image.url=https://github.com/stumpylog/peekaping
--label org.opencontainers.image.version=0.0.42-amd64

@stumpylog stumpylog changed the title Add Docker metadata action for image tagging Add Docker metadata action for image tagging & labeling Oct 30, 2025
@netlify
Copy link

netlify bot commented Oct 31, 2025

Deploy Preview for peekaping ready!

Name Link
🔨 Latest commit 0600d20
🔍 Latest deploy log https://app.netlify.com/projects/peekaping/deploys/6904d774638049000856720a
😎 Deploy Preview https://deploy-preview-219--peekaping.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Oct 31, 2025

Deploy Preview for docspeekaping ready!

Name Link
🔨 Latest commit 0600d20
🔍 Latest deploy log https://app.netlify.com/projects/docspeekaping/deploys/6904d774ad69320008920852
😎 Deploy Preview https://deploy-preview-219--docspeekaping.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant