Skip to content

Commit

Permalink
fix regex problem
Browse files Browse the repository at this point in the history
  • Loading branch information
linglp committed Jun 22, 2023
1 parent 53d90c1 commit cc17263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Create and publish a Docker image
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+\.[0-9]+\.[0-9]+(?:-[a-zA-Z]+)?'
workflow_dispatch:
inputs:
tags:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{raw}},value=${{ env.TAG || github.event.inputs.tags }}
type=semver,pattern={{raw}}
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
Expand Down

0 comments on commit cc17263

Please sign in to comment.