Skip to content

Commit 5d8bac5

Browse files
authored
Merge branch 'develop' into gen-2230-refactor_update_table
2 parents b7fef85 + 18425bf commit 5d8bac5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@ jobs:
173173
uses: docker/metadata-action@v5
174174
with:
175175
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
176+
# Override the tag source for PRs
177+
tags: |
178+
type=ref,event=branch
179+
type=raw,value=${{ github.head_ref || github.ref_name }}
176180
177181
- name: Format tags as registry refs
178182
id: registry_refs
@@ -184,7 +188,6 @@ jobs:
184188
- name: Build and push Docker image
185189
id: build-and-push
186190
uses: docker/build-push-action@v5
187-
if: github.event_name != 'pull_request'
188191
with:
189192
context: .
190193
push: true

0 commit comments

Comments
 (0)