Skip to content

Commit

Permalink
[fix]: missing base image check in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Yuan <[email protected]>
  • Loading branch information
SamYuan1990 committed Nov 22, 2024
1 parent 8734ce0 commit fac30c6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,23 @@ jobs:
changes_baseimage:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src }}
src: ${{ steps.changes_baseimage.outputs.src }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: changes
id: changes_baseimage
with:
filters: |
src:
- './.github/workflows/image_base.yml'
- './build/Dockerfile.builder'
base_image:
needs: changes_baseimage
if: ${{ needs.changes_baseimage.outputs.src == 'true' }}
uses: ./.github/workflows/image_base.yml
with:
pushImage: false
secrets:
username: ${{ secrets.BOT_NAME }}
password: ${{ secrets.BOT_TOKEN }}

0 comments on commit fac30c6

Please sign in to comment.