Skip to content

Conversation

halkeye
Copy link

@halkeye halkeye commented Oct 2, 2025

Tools like renovate or dependbot use the standard opencontainer labels to know where sourcecode is located, and in the case of releases and tags being used, generate changelogs inside of prs

I think i managed to connect docker/metadata which takes care of setting up all the labels for you, to the ci process that builds the docker image, so it should always be up to date and accurate

I also added support for forks to build their own image on github (so i could do testing), i can revert that if desired.

@halkeye
Copy link
Author

halkeye commented Oct 2, 2025

I really wanted to wait for https://github.com/halkeye/docker-postgres-backup-local/actions/runs/18184122590/job/51765284575 to finish and be a success before submitting the PR, but its a long build process and i didn't want to forget it.

@halkeye halkeye force-pushed the main branch 2 times, most recently from 721aba3 to eb82d9d Compare October 2, 2025 07:10
@halkeye
Copy link
Author

halkeye commented Oct 2, 2025

confirmed via

regctl image config --format '{{ jsonPretty .Config.Labels }}' ghcr.io/halkeye/docker-postgres-backup-local:18-alpine
{
  "org.opencontainers.image.created": "2025-10-02T07:12:36.689Z",
  "org.opencontainers.image.description": "Backup PostgresSQL to local filesystem with periodic backups and rotate backups.",
  "org.opencontainers.image.licenses": "MIT",
  "org.opencontainers.image.revision": "eb82d9df44105a51d92096630d2892fbce6ff669",
  "org.opencontainers.image.source": "https://github.com/halkeye/docker-postgres-backup-local",
  "org.opencontainers.image.title": "docker-postgres-backup-local",
  "org.opencontainers.image.url": "https://github.com/halkeye/docker-postgres-backup-local",
  "org.opencontainers.image.version": "main"
}

targets = ["debian-latest", "debian-17", "debian-16", "debian-15", "debian-14", "debian-13"]
}

group "alpine-all" {
Copy link
Author

Choose a reason for hiding this comment

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

I split them up so I could do faster iteration of testing by just building alpine instead of default
lemme know if you want me to put it back

@halkeye
Copy link
Author

halkeye commented Oct 2, 2025

if you are feeling up for it (because it is october), and you want to merge it, can you throw a hacktoberfest-accepted

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