Skip to content

Commit de362c1

Browse files
committed
.
1 parent 7730dc9 commit de362c1

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/docker-publish.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,12 @@ 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 "name=$(echo ${{ github.ref_name }} | sed 's/[\/\.]/-/g')" >> $GITHUB_OUTPUT
26+
- name: Set up Buildx
27+
uses: docker/setup-buildx-action@v3
2928

3029
- name: Build and Push Docker Image
3130
uses: docker/build-push-action@v6
3231
with:
3332
push: true
34-
tags: ${{ github.repository }}:${{ steps.normalize.outputs.name }}
33+
tags: ${{ github.repository }}:${{ github.ref_name.replace('/','-').replace('.','-') }}
3534
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)