ci: cache: Fix unbound variable

Now we have the workflow updated and can test the changes in caching
we've hit an error:
```
line 1180: artefact_tag: unbound variable
```
so we need to fix that up. Sorry for missing this before.

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman 2024-05-16 14:30:32 +01:00
parent f7fd2f9a5d
commit 9d9487b17f

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