Skip to content

Commit 7c663b2

Browse files
committed
fix docker release detection
1 parent b89cb15 commit 7c663b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/docker-tags/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ inputs:
1919
required: false
2020
release-branches:
2121
description: List of branche names considered for stable releases (space separated)
22-
default: main master release- release/
22+
default: main master release-* release/*
2323
required: false
2424

2525
outputs:

.github/actions/docker-tags/docker-tags.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ tags_unstable+=("$(full-tag "${REGISTRY_UNSTABLE}" "${sanitize_branch_name}")")
8282
# Check if we are on a release branch
8383
is_release_branch=false
8484
for branch in ${RELEASE_BRANCHES}; do
85-
if [ "${GITHUB_REF_NAME}" == "${branch}" ]; then
85+
if [[ "${GITHUB_REF_NAME}" == ${branch} ]]; then
8686
is_release_branch=true
8787
echo "Release branch detected: ${GITHUB_REF_NAME}"
8888
break

0 commit comments

Comments
 (0)