diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index b96860cb..dc8391c6 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -190,7 +190,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Log in to Docker Hub - if: ${{ steps.image-policy.outputs.push == 'true' && secrets.DOCKERHUB_TOKEN != '' }} + if: steps.image-policy.outputs.push == 'true' uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0 with: registry: ${{ env.DOCKERHUB_REGISTRY }} @@ -233,7 +233,6 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Log in to Docker Hub - if: ${{ secrets.DOCKERHUB_TOKEN != '' }} uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0 with: registry: ${{ env.DOCKERHUB_REGISTRY }} @@ -259,7 +258,6 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Log in to Docker Hub - if: ${{ secrets.DOCKERHUB_TOKEN != '' }} uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0 with: registry: ${{ env.DOCKERHUB_REGISTRY }} @@ -286,7 +284,6 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Log in to Docker Hub - if: ${{ secrets.DOCKERHUB_TOKEN != '' }} uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0 with: registry: ${{ env.DOCKERHUB_REGISTRY }} @@ -312,7 +309,6 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Log in to Docker Hub - if: ${{ secrets.DOCKERHUB_TOKEN != '' }} uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0 with: registry: ${{ env.DOCKERHUB_REGISTRY }} @@ -596,7 +592,6 @@ jobs: security-events: write steps: - name: Log in to Docker Hub - if: ${{ secrets.DOCKERHUB_TOKEN != '' }} uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0 with: registry: ${{ env.DOCKERHUB_REGISTRY }} @@ -641,7 +636,6 @@ jobs: security-events: write steps: - name: Log in to Docker Hub - if: ${{ secrets.DOCKERHUB_TOKEN != '' }} uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0 with: registry: ${{ env.DOCKERHUB_REGISTRY }}