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

@ -27,7 +27,7 @@ jobs:
file: ./pdns-recursor/Dockerfile file: ./pdns-recursor/Dockerfile
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
push: false push: false
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-recursor:latest tags: pdns-recursor:latest
- name: Image digest - name: Image digest
run: echo ${{ steps.docker_build_recursor_latest.outputs.digest }} run: echo ${{ steps.docker_build_recursor_latest.outputs.digest }}
@ -40,7 +40,7 @@ jobs:
file: ./pdns-recursor/Dockerfile.alpine file: ./pdns-recursor/Dockerfile.alpine
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
push: false push: false
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-recursor:alpine tags: pdns-recursor:alpine
- name: Image digest - name: Image digest
run: echo ${{ steps.docker_build_recursor_alpine.outputs.digest }} run: echo ${{ steps.docker_build_recursor_alpine.outputs.digest }}
@ -53,7 +53,7 @@ jobs:
file: ./pdns/Dockerfile file: ./pdns/Dockerfile
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
push: false push: false
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:latest tags: pdns-mysql:latest
- name: Image digest - name: Image digest
run: echo ${{ steps.docker_build_pdns_latest.outputs.digest }} run: echo ${{ steps.docker_build_pdns_latest.outputs.digest }}
@ -66,7 +66,7 @@ jobs:
file: ./pdns/Dockerfile.alpine file: ./pdns/Dockerfile.alpine
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
push: false push: false
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:alpine tags: pdns-mysql:alpine
- name: Image digest - name: Image digest
run: echo ${{ steps.docker_build_pdns_alpine.outputs.digest }} run: echo ${{ steps.docker_build_pdns_alpine.outputs.digest }}
@ -80,8 +80,8 @@ jobs:
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
push: false push: false
tags: | tags: |
${{ secrets.DOCKER_HUB_USERNAME }}/pdns-admin-base:latest pdns-admin-base:latest
${{ secrets.DOCKER_HUB_USERNAME }}/pdns-admin-base:ngoduykhanh pdns-admin-base:ngoduykhanh
- name: Image digest - name: Image digest
run: echo ${{ steps.docker_build_admin_base.outputs.digest }} run: echo ${{ steps.docker_build_admin_base.outputs.digest }}
@ -95,8 +95,8 @@ jobs:
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
push: false push: false
tags: | tags: |
${{ secrets.DOCKER_HUB_USERNAME }}/pdns-admin-uwsgi:latest pdns-admin-uwsgi:latest
${{ secrets.DOCKER_HUB_USERNAME }}/pdns-admin-uwsgi:ngoduykhanh pdns-admin-uwsgi:ngoduykhanh
- name: Image digest - name: Image digest
run: echo ${{ steps.docker_build_admin_uwsgi.outputs.digest }} run: echo ${{ steps.docker_build_admin_uwsgi.outputs.digest }}
@ -110,8 +110,8 @@ jobs:
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
push: false push: false
tags: | tags: |
${{ secrets.DOCKER_HUB_USERNAME }}/pdns-admin-static:latest pdns-admin-static:latest
${{ secrets.DOCKER_HUB_USERNAME }}/pdns-admin-static:ngoduykhanh pdns-admin-static:ngoduykhanh
- name: Image digest - name: Image digest
run: echo ${{ steps.docker_build_admin_static.outputs.digest }} run: echo ${{ steps.docker_build_admin_static.outputs.digest }}