mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 04:45:48 +03:00
[PR #291] Automatically publish new Docker images #374
Labels
No labels
Documentation
Documentation
bug
enhancement
feature request
feature request
help wanted
pull-request
question
security
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/acme-dns#374
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/acme-dns/acme-dns/pull/291
Author: @jodoll
Created: 2/1/2022
Status: 🔄 Open
Base:
master← Head:docker_publish📝 Commits (9)
46f1ba2Add action to publish Docker image4333f99Enable docker publish action on feature branchd26cb64Rename docker publish workflow00631ebUse fixed versions for actions in docker publish933d70cUse @main version of cosign-installerc42290fSwitch to cosign-release 1.5.125549b3Define tags in metadata-actionf690387Publish all tags starting with v as release30dfcf7Run docker publish workflow only on master📊 Changes
1 file changed (+99 additions, -0 deletions)
View changed files
➕
.github/workflows/docker-publish.yml(+99 -0)📄 Description
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 Containerworkflow.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
masterwill always be accessible via Docker image, when including this workflow.When are images published?
masterandlatestare updatedv: New tag with with that name is publishednightlyis updatedPublishing
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.ioas 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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.