Merge pull request #9647 from stevenhorsman/fix-artefact-tags-unbound-variable

ci: cache: Fix unbound variable
This commit is contained in:
Steve Horsman 2024-05-16 16:22:47 +01:00 committed by GitHub
commit 33e6b241ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1177,7 +1177,7 @@ handle_build() {
esac
tags=(latest-${TARGET_BRANCH}-$(uname -m))
if [ -n "${artefact_tag}" ]; then
if [ -n "${artefact_tag:-}" ]; then
tags+=("${artefact_tag}")
fi
if [ "${RELEASE}" == "yes" ]; then