From 69d6d7a55e86058ead9778da9641c375730492ce Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 17 Aug 2021 08:20:22 +0200 Subject: [PATCH] fix: log in to registries only when it's me --- .github/workflows/build-ubuntu.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-ubuntu.yml b/.github/workflows/build-ubuntu.yml index 6fc5750..53498b7 100644 --- a/.github/workflows/build-ubuntu.yml +++ b/.github/workflows/build-ubuntu.yml @@ -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: