ci: use github.ref_name instead of $GITHUB_REF_NAME

As, regardless of what's mentioned in the documentation, it seems that
$GITHUB_REF_NAME is passed down as a literal string.

Fixes: #7414

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2023-09-11 22:14:55 +02:00
parent dc0b350e49
commit f811b064ca
2 changed files with 7 additions and 7 deletions

View File

@ -15,5 +15,5 @@ jobs:
commit-hash: ${{ github.sha }}
pr-number: "nightly"
tag: ${{ github.sha }}-nightly
target-branch: $GITHUB_REF_NAME
target-branch: ${{ github.ref_name }}
secrets: inherit

View File

@ -15,7 +15,7 @@ jobs:
with:
commit-hash: ${{ github.sha }}
push-to-registry: yes
target-branch: $GITHUB_REF_NAME
target-branch: ${{ github.ref_name }}
secrets: inherit
build-assets-arm64:
@ -23,7 +23,7 @@ jobs:
with:
commit-hash: ${{ github.sha }}
push-to-registry: yes
target-branch: $GITHUB_REF_NAME
target-branch: ${{ github.ref_name }}
secrets: inherit
build-assets-s390x:
@ -31,7 +31,7 @@ jobs:
with:
commit-hash: ${{ github.sha }}
push-to-registry: yes
target-branch: $GITHUB_REF_NAME
target-branch: ${{ github.ref_name }}
secrets: inherit
publish-kata-deploy-payload-amd64:
@ -42,7 +42,7 @@ jobs:
registry: quay.io
repo: kata-containers/kata-deploy-ci
tag: kata-containers-amd64
target-branch: $GITHUB_REF_NAME
target-branch: ${{ github.ref_name }}
secrets: inherit
publish-kata-deploy-payload-arm64:
@ -53,7 +53,7 @@ jobs:
registry: quay.io
repo: kata-containers/kata-deploy-ci
tag: kata-containers-arm64
target-branch: $GITHUB_REF_NAME
target-branch: ${{ github.ref_name }}
secrets: inherit
publish-kata-deploy-payload-s390x:
@ -64,7 +64,7 @@ jobs:
registry: quay.io
repo: kata-containers/kata-deploy-ci
tag: kata-containers-s390x
target-branch: $GITHUB_REF_NAME
target-branch: ${{ github.ref_name }}
secrets: inherit
publish-manifest: