Skip to content

Commit

Permalink
Merge pull request #20 from rlabinc/main
Browse files Browse the repository at this point in the history
Fix: not building image on push
  • Loading branch information
origamiofficial committed Aug 9, 2023
2 parents 5b7a96b + a1b30c9 commit 1d63d8d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
name: Base update check
runs-on: ubuntu-latest
outputs:
build_new_image: ${{ steps.base_update_check.outputs.build_image }}
build_new_image_schedule: ${{ steps.base_update_check.outputs.build_image }}
build_new_image_push: ${{ steps.git_push_check.outputs.build_image }}
steps:
-
name: Checkout
Expand Down Expand Up @@ -40,7 +41,7 @@ jobs:
job02:
name: Build and publish
needs: [job01]
if: needs.job01.outputs.build_new_image == 'true'
if: needs.job01.outputs.build_new_image_schedule == 'true' || needs.job01.outputs.build_new_image_push == 'true'
runs-on: ubuntu-latest
steps:
-
Expand Down

0 comments on commit 1d63d8d

Please sign in to comment.