Skip to content

Commit 63266b3

Browse files
authored
Merge pull request #8092 from ecamp/fix-build-images
reusable-build-and-push.yml: use the source branch to build the images for a pr
2 parents e656ec4 + c2d5afe commit 63266b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/reusable-build-and-push.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
return context.repo.owner.toLowerCase()
4141
4242
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
43+
with:
44+
ref: ${{ inputs.sha }}
4345

4446
- name: Set nightly tag if commit was on main
4547
id: add-nightly-tag
@@ -122,6 +124,7 @@ jobs:
122124
steps:
123125
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
124126
with:
127+
ref: ${{ inputs.sha }}
125128
fetch-depth: 100
126129

127130
- run: |

0 commit comments

Comments
 (0)