Skip to content

Commit

Permalink
Build clp-core docker image if source files change. (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkrodrigues authored Feb 11, 2024
1 parent 560651f commit 4ccec53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/clp-core-build-deps-and-binaries/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ inputs:
runs:
using: "composite"
steps:
- if: "inputs.deps_image_changed == 'true'"
- if: "inputs.deps_image_changed == 'true' || inputs.push_binaries_image == 'true'"
uses: "./.github/actions/clp-core-build-containers"
with:
os_name: "${{inputs.os_name}}"
clp_core_dir: "components/core"
push_deps_image: >-
${{github.event_name != 'pull_request'
${{inputs.deps_image_changed == 'true'
&& github.event_name != 'pull_request'
&& github.ref == 'refs/heads/main'}}
push_binaries_image: >-
${{inputs.push_binaries_image == 'true'
Expand Down

0 comments on commit 4ccec53

Please sign in to comment.