From 064e5aeebd7b13046521b6f1be237037bb8b0fc6 Mon Sep 17 00:00:00 2001 From: Oded Ben Ozer Date: Thu, 4 Apr 2024 10:47:41 +0200 Subject: [PATCH] Test GHA syntax issue --- .github/workflows/docker-publish-on-comment.yml | 2 +- .github/workflows/docker-publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish-on-comment.yml b/.github/workflows/docker-publish-on-comment.yml index 4763d08c..f981bbb3 100644 --- a/.github/workflows/docker-publish-on-comment.yml +++ b/.github/workflows/docker-publish-on-comment.yml @@ -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 }} diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index cb3e3c72..73920aff 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -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 }}