Skip to content

Commit

Permalink
run when pushed to main too
Browse files Browse the repository at this point in the history
  • Loading branch information
mlsmaycon authored Jan 11, 2025
1 parent d0d75b7 commit a14cc71
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' && github.repository == github.head.repo.full_name
if: matrix.store == 'mysql' && (github.repository == github.head.repo.full_name || github.head_ref == "")
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' && github.repository == github.head.repo.full_name
if: matrix.store == 'mysql' && (github.repository == github.head.repo.full_name || github.head_ref == "")
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' && github.repository == github.head.repo.full_name
if: matrix.store == 'mysql' && (github.repository == github.head.repo.full_name || github.head_ref == "")
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
Expand Down

0 comments on commit a14cc71

Please sign in to comment.