Skip to content

Commit

Permalink
ew
Browse files Browse the repository at this point in the history
Signed-off-by: weizhou.lan@daocloud.io <weizhou.lan@daocloud.io>
  • Loading branch information
weizhoublue committed Oct 20, 2022
1 parent 75aa84d commit 095766a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build-image-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,20 @@ on:
permissions: write-all

jobs:
call-by:
call-by-workflow:
uses: ./.github/workflows/call-release-image.yaml
if: ${{ inputs.ref != '' }}
with:
ref: ${{ inputs.ref }}
push: "false"
race: "1"
secrets: inherit

call-by-pr:
uses: ./.github/workflows/call-release-image.yaml
if: ${{ github.event_name == 'pull_request_target' }}
with:
ref: ${{ github.event.pull_request.head.sha }}
push: "false"
race: "1"
secrets: inherit

0 comments on commit 095766a

Please sign in to comment.