Skip to content

Commit e5cf4dd

Browse files
ci: Psl container fix for checkout code from head branch (#1541)
Co-authored-by: Ajit Padhi <[email protected]>
1 parent 88d06dc commit e5cf4dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build-docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
echo "Target registry status:" ${{ inputs.registry }}
3939
- name: Checkout
4040
uses: actions/checkout@v4
41+
with:
42+
ref: ${{ github.event.workflow_run.head_branch }}
4143

4244
- name: Docker Login
4345
if: ${{ inputs.push == true && inputs.branch == 'main' }}

0 commit comments

Comments
 (0)