Skip to content

Commit 10c1090

Browse files
committed
ci: Fix tag regex
Signed-off-by: Evan Wies <evan@neomantra.net>
1 parent 5f73d69 commit 10c1090

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ jobs:
292292
tags: |
293293
type=raw,value=${{ matrix.flavor }}-${{ matrix.arch }},enable=${{ github.ref == 'refs/heads/master' }}
294294
type=ref,event=tag,suffix=-${{ matrix.flavor }}-${{ matrix.arch }}
295-
type=match,pattern=^(.*)-[0-9]$,group=1,suffix=-${{ matrix.flavor }}-${{ matrix.arch }}
295+
type=match,pattern=^(.*)-[0-9]+$,group=1,suffix=-${{ matrix.flavor }}-${{ matrix.arch }}
296296
297297
- name: Build and push
298298
uses: docker/build-push-action@v5
@@ -431,7 +431,7 @@ jobs:
431431
tags: |
432432
type=raw,value=${{ matrix.flavor }}-${{ matrix.arch }},enable=${{ github.ref == 'refs/heads/master' }}
433433
type=ref,event=tag,suffix=-${{ matrix.flavor }}-${{ matrix.arch }}
434-
type=match,pattern=^(.*)-[0-9]$,group=1,suffix=-${{ matrix.flavor }}-${{ matrix.arch }}
434+
type=match,pattern=^(.*)-[0-9]+$,group=1,suffix=-${{ matrix.flavor }}-${{ matrix.arch }}
435435
436436
- name: Build and push
437437
uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)