Skip to content

Commit b910428

Browse files
committed
restore release.yaml from upstream/wf-test
1 parent a140803 commit b910428

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ permissions:
77
contents: write
88

99
env:
10-
WF_REGISTRY_USER: rhn_support_memodi
11-
WF_REGISTRY: quay.io/rhn_support_memodi
10+
WF_REGISTRY_USER: netobserv+github_ci
11+
WF_REGISTRY: quay.io/netobserv
1212
WF_IMAGE: network-observability-operator
13-
WF_ORG: rhn_support_memodi
13+
WF_ORG: netobserv
1414
WF_MULTIARCH_TARGETS: amd64 arm64 ppc64le s390x
1515

1616
jobs:
@@ -30,8 +30,8 @@ jobs:
3030
registry: quay.io
3131
- name: validate tag
3232
run: |
33-
tag="${GITHUB_REF_NAME}"
34-
if [[ $tag =~ ^[0-9]+\.[0-9]+\.[0-9]+(-crc[0-9]+|-community|-test.*)? ]]; then
33+
tag=`git describe --exact-match --tags 2> /dev/null`
34+
if [[ $tag =~ ^[0-9]+\.[0-9]+\.[0-9]+(-crc[0-9]+|-community)$ ]]; then
3535
echo "$tag is a valid release tag"
3636
set -e
3737
echo "tag=$tag" >> $GITHUB_ENV

0 commit comments

Comments
 (0)