Skip to content

Commit

Permalink
Check out repo during changes detection
Browse files Browse the repository at this point in the history
  • Loading branch information
sd109 committed Dec 21, 2023
1 parent 3ea4ce5 commit 6af1203
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/build-push-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@ jobs:
images: ${{ steps.filter.outputs.images }}
chart: ${{ steps.filter.outputs.chart }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
images:
- 'images/**'
chart:
- 'chart/**'

- name: Check out the repository
uses: actions/checkout@v4

- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
images:
- 'images/**'
chart:
- 'chart/**'
# Job to build container images
build_push_images:
Expand Down

0 comments on commit 6af1203

Please sign in to comment.