Skip to content

Commit 3a8e3c6

Browse files
fix(ci): replace pull_request ref_name by commit sha
1 parent 65f0a8c commit 3a8e3c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056
2222
with:
2323
image: ghcr.io/${{ github.repository }}
24-
tags: ${{ github.ref_name }}
24+
tags: ${{ github.event_type == 'push' && github.ref_name || github.sha }}
2525
containerfiles: |
2626
./Containerfile
2727
extra-args: |

0 commit comments

Comments
 (0)