chriscrowe / docker-pihole-unbound

Run Pi-Hole + Unbound on Docker
1.08k stars 286 forks source link

Automatically update one-container image with new pihole images #252

Open mpgirro opened 2 months ago

mpgirro commented 2 months ago

This PR adds automation to update the pihole image in the Dockerfile when new versions become available. It does so by:

Setup steps required to enable the new features

It's not sufficient to merge this PR. You need to do a few simple steps initially to enable the automation.

Activate the Renovate App for this repository. Afterwards, in the app settings at the bottom under "Repository access", add this repository so Renovate can start processing this repo. You will get an onboarding PR automatically if you do this before merging this PR. It's not necessary to merge this, since this PR already has the required renovate.json file.

Add a new variable for GitHub Actions called DOCKERHUB_USERNAME with your Docker Hub username.

Add a new secret for GitHub Actions called DOCKERHUB_TOKEN with an personal access token for Docker Hub. Generate the token here. The tokens needs "Read & Write" permissions.

mpgirro commented 2 months ago

I've tested and verified that the automation works in my fork repo. It's already pushing new images automatically to Docker Hub and GHRC

mpgirro commented 2 months ago

I've update the PR to automatically create a GitHub release in the same style as the history release notes (preview)

chriscrowe commented 2 months ago

I've actually been looking to hand this repo over to someone else for a while -- this implementation looks good. Are you interested in becoming the official repo for this project?

mpgirro commented 2 months ago

Yes, I can take over this project.

How do you want to do this? Transfer the repository to me?

BoBBer446 commented 2 weeks ago

Where is the dockerfile ?

mpgirro commented 2 weeks ago

@BoBBer446 The Dockerfile is located at one-container/pihole-unbound/Dockerfile