mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 11:31:05 +00:00
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:
parent
f7fd2f9a5d
commit
9d9487b17f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user