Skip to content

Commit

Permalink
Fix CI (#1666)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <pingsutw@apache.org>
  • Loading branch information
pingsutw committed Apr 24, 2024
1 parent f4fd747 commit 1ff40f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 1ff40f2

Please sign in to comment.