diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index bb6fb90ff..d52c1056b 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -105,10 +105,10 @@ jobs: if [ -f Dockerfile ]; then tag1=ghcr.io/flyteorg/flytecookbook:${{ matrix.example }}-${{ github.sha }} tag2=ghcr.io/flyteorg/flytecookbook:latest - docker build -t tag1 -t tag2 . - fi - if ${{ github.event_name != 'pull_request' }}; then - docker push ghcr.io/flyteorg/flytecookbook --all-tags + docker build -t "$tag1" -t "$tag2" . + if ${{ github.event_name != 'pull_request' }}; then + docker push ghcr.io/flyteorg/flytecookbook --all-tags + fi fi - name: Pyflyte package working-directory: examples/${{ matrix.example }}