Skip to content

Commit

Permalink
Fix conditional expression in create_push_docker_image.yml (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelf authored Apr 21, 2024
1 parent 6b32a38 commit beac006
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/create_push_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ on:

jobs:
upload_dockerhub:
if: github.repository == 'eurecom-s3/symcc' && github.ref == 'refs/heads/master'
# not when testing
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ (github.repository == 'eurecom-s3/symcc') && (github.ref == 'refs/heads/master') && (github.event.workflow_run.conclusion == 'success') }}
runs-on: ubuntu-latest
steps:
-
Expand Down

0 comments on commit beac006

Please sign in to comment.