Browse Source

docker: dont login when in PR (#5961)

pull/6086/head
Marko 4 years ago
committed by Tess Rinearson
parent
commit
cb7c9564a4
1 changed files with 1 additions and 6 deletions
  1. +1
    -6
      .github/workflows/docker.yml

+ 1
- 6
.github/workflows/docker.yml View File

@ -14,12 +14,6 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
<<<<<<< HEAD
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
=======
>>>>>>> cd3ebe875... docker: release Linux/ARM64 image (#5925)
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Prepare - name: Prepare
id: prep id: prep
@ -49,6 +43,7 @@ jobs:
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
- name: Login to DockerHub - name: Login to DockerHub
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}


Loading…
Cancel
Save