Merge pull request #928 from pi-hole/fix/docker-namespace

* Use the namespace from secrets so others can build too.
* Add DOCKERHUB_NAMESPACE variable.
* Use hub namepace in all actions.

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
Adam Warner 2021-10-03 22:21:47 +01:00 committed by GitHub
commit 5ed8b8ec7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -59,4 +59,4 @@ jobs:
PIHOLE_VERSION=nightly
push: true
tags: |
pihole/pihole:nightly
${{ secrets.DOCKERHUB_NAMESPACE }}/pihole:nightly

View File

@ -38,7 +38,7 @@ jobs:
id: meta
uses: docker/metadata-action@v3
with:
images: pihole/pihole
images: ${{ secrets.DOCKERHUB_NAMESPACE }}/pihole
github-token: ${{ secrets.GITHUB_TOKEN }}
-
name: Set up QEMU

View File

@ -64,4 +64,4 @@ jobs:
PIHOLE_VERSION=${{ github.event.inputs.name }}
push: true
tags: |
pihole/pihole:${{ github.event.inputs.name }}
${{ secrets.DOCKERHUB_NAMESPACE }}/pihole:${{ github.event.inputs.name }}