Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically publish new Docker images #291

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

jodoll
Copy link

@jodoll jodoll commented Feb 1, 2022

This PR adds a GitHub workflow to automatically build and publish new Docker images on several.
It is for the most part an adapted version of the official Publish Docker Container workflow.

Why?

Regular rebuilds of this image are needed to mitigate vulnerabilities in the used base image, even when no changes are made.
In Addition, the latest revision of master will always be accessible via Docker image, when including this workflow.

When are images published?

  • Push to master: Tag master and latest are updated
  • New tag starting with v: New tag with with that name is published
  • Nightly: The tag nightly is updated

Publishing

Images are currently published to ghcr.io and will occur as published artifact on this repositories GitHub page. The images can be retrieved by referencing ghcr.io as registry (e.g. docker pull ghcr.io/jodoll/acme-dns:docker_publish).

Nevertheless, it may be desirable to also (or exclusively) release the images on Docker Hub. I'd be glad to incorporate this into this PR, but I'll need to know how to reference some secret to enable this workflow to access Docker Hub.
Just let me know if this desired and I'll research and make a proposal on how to do this.

Draft

Any feedback is welcome and I'll remove the draft state once the publishing issue is sorted out.

linuxgemini added a commit to linuxgemini/acme-dns that referenced this pull request Feb 9, 2022
On-behalf-of: Johannes Doll <jodoll@users.noreply.github.com>
Signed-off-by: İlteriş Yağıztegin Eroğlu <me@linuxgemini.space>
linuxgemini added a commit to linuxgemini/acme-dns that referenced this pull request Feb 9, 2022
Co-authored-by: Matthias Schneider <ms@wck.biz>
Co-authored-by: Johannes Doll <jodoll@users.noreply.github.com>
Signed-off-by: İlteriş Yağıztegin Eroğlu <me@linuxgemini.space>
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.

None yet

1 participant