diff --git a/.github/workflows/_container.yml b/.github/workflows/_container.yml index b9f4ee13c..7833d83a1 100644 --- a/.github/workflows/_container.yml +++ b/.github/workflows/_container.yml @@ -19,7 +19,7 @@ jobs: - name: Validate SemVer2 version compliance if: startsWith(github.ref, 'refs/tags/') env: - SEMVER_REGEX: ^refs/tags/(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$ + SEMVER_REGEX: ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$ run: | ref="${{ github.ref_name }}"