Skip to content

Commit

Permalink
try to get tfc runtime workflow to run on releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jbbjarnason committed Jun 11, 2024
1 parent 58f048b commit e913d46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tfc-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
jobs:
build-and-push-image:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success' && github.event_name == 'release'
if: ${{ github.event.workflow_run.conclusion == 'success' }}
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: ./containers/tfc-runtime
push: ${{ github.ref == 'refs/heads/main' }}
push: ${{ github.event_name == 'release' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: ./containers/tfc-runtime/tfc-runtime.dockerfile
Expand All @@ -63,7 +63,7 @@ jobs:
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: ./containers/tfc-dart-sdk
push: ${{ github.ref == 'refs/heads/main' }}
push: ${{ github.event_name == 'release' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: ./containers/tfc-dart-sdk/tfc-dart-sdk.dockerfile

0 comments on commit e913d46

Please sign in to comment.