diff --git a/.github/workflows/static.yaml b/.github/workflows/static.yaml index f12b1e3a7..1c047fd10 100644 --- a/.github/workflows/static.yaml +++ b/.github/workflows/static.yaml @@ -37,7 +37,7 @@ jobs: version: latest - name: Login to DockerHub - if: ${{toJson(startsWith(github.ref, 'refs/tags/') || (github.ref == 'refs/heads/main' && github.event_name != 'pull_request'))}} + if: startsWith(github.ref, 'refs/tags/') || (github.ref == 'refs/heads/main' && github.event_name != 'pull_request') uses: docker/login-action@v3 with: username: ${{secrets.REGISTRY_USERNAME}} @@ -62,7 +62,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Pull Docker image - if: ${{toJson(startsWith(github.ref, 'refs/tags/') || (github.ref == 'refs/heads/main' && github.event_name != 'pull_request'))}} + if: startsWith(github.ref, 'refs/tags/') || (github.ref == 'refs/heads/main' && github.event_name != 'pull_request') run: docker pull dunglas/frankenphp:static-builder - name: Copy binary