Skip to content

Commit cc17263

Browse files
committed
fix regex problem
1 parent 53d90c1 commit cc17263

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: Create and publish a Docker image
77
on:
88
push:
99
tags:
10-
- 'v[0-9]+.[0-9]+.[0-9]+'
10+
- 'v[0-9]+\.[0-9]+\.[0-9]+(?:-[a-zA-Z]+)?'
1111
workflow_dispatch:
1212
inputs:
1313
tags:
@@ -45,7 +45,7 @@ jobs:
4545
tags: |
4646
type=ref,event=branch
4747
type=ref,event=pr
48-
type=semver,pattern={{raw}},value=${{ env.TAG || github.event.inputs.tags }}
48+
type=semver,pattern={{raw}}
4949
- name: Build and push Docker image
5050
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
5151
with:

0 commit comments

Comments
 (0)