From cb7c9564a4587235a073063414102d19422dcaaa Mon Sep 17 00:00:00 2001 From: Marko Date: Mon, 25 Jan 2021 10:43:54 +0000 Subject: [PATCH] docker: dont login when in PR (#5961) --- .github/workflows/docker.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6cdb9132b..d7ed13b80 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -14,12 +14,6 @@ jobs: build: runs-on: ubuntu-latest steps: -<<<<<<< HEAD - - uses: actions/setup-go@v2 - with: - go-version: "^1.15.4" -======= ->>>>>>> cd3ebe875... docker: release Linux/ARM64 image (#5925) - uses: actions/checkout@master - name: Prepare id: prep @@ -49,6 +43,7 @@ jobs: uses: docker/setup-buildx-action@v1 - name: Login to DockerHub + if: ${{ github.event_name != 'pull_request' }} uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }}