Skip to content

Commit

Permalink
docker: dont login when in PR (#5961)
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle authored and tessr committed Feb 11, 2021
1 parent 9df5fcf commit cb7c956
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit cb7c956

Please sign in to comment.