chriscrowe / docker-pihole-unbound

Run Pi-Hole + Unbound on Docker
1.05k stars 274 forks source link

Add github action workflow to trigger daily build with latest image #174

Open tritethunder opened 1 year ago

tritethunder commented 1 year ago

Let's solve this once and for all

Just to avoid waiting for days to get the latest updated image I created this git action workflow that allows you to automate the building process and push it to your docker repository.

This workflow should work out of the box but you need to create two secrets with the following names in your repo (as I don't have access 🙂)

DOCKER_HUB_USERNAME (this should contain your docker hub username) DOCKER_HUB_TOKEN (this contains the docker hub token to push the image and update tags)

I already tried this in my branch using my credential to my docker repository and it's working fine for me.

I am attaching a screenshot to guide where you need to add secrets. Let me know if you need any help setting this up.

image
chriscrowe commented 1 year ago

This is using an action from a pretty obscure repo rez0n/actions-github-release - I question long-term reliability/security here.

tritethunder commented 1 year ago

This is using an action from a pretty obscure repo rez0n/actions-github-release - I question long-term reliability/security here.

@chriscrowe I removed that obscure action 🙂 and use plain curl that is pretty striaght forward. Let me know if you still have some concerns.