Skip to content

Commit e6f90b0

Browse files
committed
.
1 parent 2815a70 commit e6f90b0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/docker-publish.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,13 @@ jobs:
2323
- name: Set up QEMU
2424
uses: docker/setup-qemu-action@v3
2525

26+
- name: Normalize Reference Name
27+
id: normalize
28+
run: echo ${{ github.ref_name }} | sed 's/[\/\.]/-/g' >> $GITHUB_OUTPUT
29+
2630
- name: Build and Push Docker Image
2731
uses: docker/build-push-action@v6
2832
with:
2933
push: true
30-
tags: ${{ github.repository }}:${{ github.ref_name }}
34+
tags: ${{ github.repository }}:${{ steps.normalize.outputs }}
3135
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)