fix: log in to registries only when it's me

This commit is contained in:
Ryan
2021-08-17 08:20:22 +02:00
committed by GitHub
parent 79853fc883
commit 69d6d7a55e
+3
View File
@@ -37,6 +37,7 @@ jobs:
TAG: [latest, 20.04, 18.04, 16.04]
steps:
- name: Login to GitHub Container Registry
if: ${{ github.repository_owner == github.actor }}
id: ghcr
uses: docker/login-action@v1
with:
@@ -45,6 +46,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Quay
if: ${{ github.repository_owner == github.actor }}
id: quay
uses: docker/login-action@v1
with:
@@ -53,6 +55,7 @@ jobs:
password: ${{ secrets.QUAY_TOKEN }}
- name: Login to Docker Hub
if: ${{ github.repository_owner == github.actor }}
id: dckr
uses: docker/login-action@v1
with: