Skip to content

Commit

Permalink
Merge pull request #2 from mlsmaycon/mlsmaycon-patch-1
Browse files Browse the repository at this point in the history
skip docker login on fork
  • Loading branch information
mlsmaycon authored Jan 11, 2025
2 parents 1cc88a2 + 36fc350 commit 22b354a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/golang-test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
run: git --no-pager diff --exit-code

- name: Login to Docker hub
if: matrix.store == 'mysql'
if: matrix.store == 'mysql' && github.event.repository.fork == false
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
run: git --no-pager diff --exit-code

- name: Login to Docker hub
if: matrix.store == 'mysql'
if: matrix.store == 'mysql' && github.event.repository.fork == false
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
Expand Down Expand Up @@ -303,7 +303,7 @@ jobs:
run: git --no-pager diff --exit-code

- name: Login to Docker hub
if: matrix.store == 'mysql'
if: matrix.store == 'mysql' && github.event.repository.fork == false
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
Expand Down

0 comments on commit 22b354a

Please sign in to comment.