Skip to content

Commit

Permalink
ci(docker-build-and-push): use tentative if-condition for scheduled e…
Browse files Browse the repository at this point in the history
…vents (autowarefoundation#2798)

Signed-off-by: Kenji Miyake <[email protected]>

Signed-off-by: Kenji Miyake <[email protected]>
  • Loading branch information
kenji-miyake authored Aug 16, 2022
1 parent 9d98530 commit 89645b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/docker-build-and-push/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ runs:
- name: Build and push
uses: docker/bake-action@v2
with:
push: ${{ github.ref_name == github.event.repository.default_branch }}
# Checking event_name for https://github.com/autowarefoundation/autoware/issues/2796
push: ${{ github.event_name == 'schedule' || github.ref_name == github.event.repository.default_branch }}
files: |
docker/${{ inputs.bake-target }}/docker-bake.hcl
bake.json
Expand Down

0 comments on commit 89645b9

Please sign in to comment.