From 8d8df061d486b8cf18e4f92f974b741c6917c82f Mon Sep 17 00:00:00 2001 From: Peter Schiffer <3899107+pschiffe@users.noreply.github.com> Date: Fri, 13 Jan 2023 21:19:44 +0100 Subject: [PATCH] CI: do not use secrets in workflow for PRs --- .github/workflows/docker-image-pr.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docker-image-pr.yml b/.github/workflows/docker-image-pr.yml index 4c288f7..7ca1cb5 100644 --- a/.github/workflows/docker-image-pr.yml +++ b/.github/workflows/docker-image-pr.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - + - name: Check Out Repo uses: actions/checkout@v2 @@ -27,7 +27,7 @@ jobs: file: ./pdns-recursor/Dockerfile builder: ${{ steps.buildx.outputs.name }} push: false - tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-recursor:latest + tags: pdns-recursor:latest - name: Image digest run: echo ${{ steps.docker_build_recursor_latest.outputs.digest }} @@ -40,7 +40,7 @@ jobs: file: ./pdns-recursor/Dockerfile.alpine builder: ${{ steps.buildx.outputs.name }} push: false - tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-recursor:alpine + tags: pdns-recursor:alpine - name: Image digest run: echo ${{ steps.docker_build_recursor_alpine.outputs.digest }} @@ -53,7 +53,7 @@ jobs: file: ./pdns/Dockerfile builder: ${{ steps.buildx.outputs.name }} push: false - tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:latest + tags: pdns-mysql:latest - name: Image digest run: echo ${{ steps.docker_build_pdns_latest.outputs.digest }} @@ -66,7 +66,7 @@ jobs: file: ./pdns/Dockerfile.alpine builder: ${{ steps.buildx.outputs.name }} push: false - tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:alpine + tags: pdns-mysql:alpine - name: Image digest run: echo ${{ steps.docker_build_pdns_alpine.outputs.digest }} @@ -80,8 +80,8 @@ jobs: builder: ${{ steps.buildx.outputs.name }} push: false tags: | - ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-admin-base:latest - ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-admin-base:ngoduykhanh + pdns-admin-base:latest + pdns-admin-base:ngoduykhanh - name: Image digest run: echo ${{ steps.docker_build_admin_base.outputs.digest }} @@ -95,8 +95,8 @@ jobs: builder: ${{ steps.buildx.outputs.name }} push: false tags: | - ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-admin-uwsgi:latest - ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-admin-uwsgi:ngoduykhanh + pdns-admin-uwsgi:latest + pdns-admin-uwsgi:ngoduykhanh - name: Image digest run: echo ${{ steps.docker_build_admin_uwsgi.outputs.digest }} @@ -110,8 +110,8 @@ jobs: builder: ${{ steps.buildx.outputs.name }} push: false tags: | - ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-admin-static:latest - ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-admin-static:ngoduykhanh + pdns-admin-static:latest + pdns-admin-static:ngoduykhanh - name: Image digest run: echo ${{ steps.docker_build_admin_static.outputs.digest }}