From cc1726332feb1191d187f679dd8a549ed66457ba Mon Sep 17 00:00:00 2001 From: linglp Date: Thu, 22 Jun 2023 18:13:05 -0400 Subject: [PATCH] fix regex problem --- .github/workflows/docker_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index b7fb00c27..98b4b5384 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -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: @@ -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: