CI: do not use secrets in workflow for PRs

This commit is contained in:
Peter Schiffer 2023-01-13 21:19:44 +01:00
parent 72a9919cec
commit 8d8df061d4
No known key found for this signature in database
GPG key ID: F2A18AC34A008397

View file

@ -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 }}