Skip to content

Commit

Permalink
Test GHA syntax issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Oded-B committed Apr 4, 2024
1 parent e159e49 commit 064e5ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish-on-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log into Docker Hub registry
if: secrets.DOCKERHUB_TOKEN != ''
if: ${{ secrets.DOCKERHUB_TOKEN != '' }}
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log into Docker Hub registry
if: github.event_name != 'pull_request' && secrets.DOCKERHUB_TOKEN != ''
if: ${{ github.event_name != 'pull_request' && secrets.DOCKERHUB_TOKEN != '' }}
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down

0 comments on commit 064e5ae

Please sign in to comment.