Skip to content

Commit

Permalink
ci: Psl container fix for checkout code from head branch (#1541)
Browse files Browse the repository at this point in the history
Co-authored-by: Ajit Padhi <[email protected]>
  • Loading branch information
Roopan-Microsoft and AjitPadhi-Microsoft authored Nov 27, 2024
1 parent 88d06dc commit e5cf4dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
echo "Target registry status:" ${{ inputs.registry }}
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}

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

0 comments on commit e5cf4dd

Please sign in to comment.