release.yaml: Fix detection of docker stable release

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias Knöppler 2023-04-11 01:16:02 +02:00 committed by GitHub
parent 13aa4737fb
commit d2c480ac1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -316,7 +316,7 @@ jobs:
- name: Create manifest and push as latest to docker hub
run: |
[[ "${{ github.ref }}" =~ ^'ref/tags/v'[0-9]+'.'[0-9]+'.'[0-9]+$ ]] || {
[[ "${{ github.ref }}" =~ ^'refs/tags/v'[0-9]+'.'[0-9]+'.'[0-9]+$ ]] || {
echo "not tagging latest - is a pre-/beta-release"
exit 0
}