actions: Fixed typo
Some checks failed
Build Docker / Build Master (push) Failing after 20s
Build Docker / Build Bot (push) Failing after 19s

This commit is contained in:
Nathan Woodburn 2023-08-24 17:33:58 +10:00
parent 166e223429
commit 46096f0e84
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -25,9 +25,9 @@ jobs:
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
tag=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
if [ tag = "main" ]; then
$tag = "latest"
tag = "latest"
else
$tag_num = $tag +"-"+ $tag_num
tag_num = $tag +"-"+ $tag_num
fi
docker build -t hnshosting-master:$tag_num .
@ -62,9 +62,9 @@ jobs:
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
tag=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
if [ tag = "main" ]; then
$tag = "latest"
tag = "latest"
else
$tag_num = $tag +"-"+ $tag_num
tag_num = $tag +"-"+ $tag_num
fi
docker build -t hnshosting-bot:$tag_num .