From 9f0e1d4b15806d9e57d5dbba3315ec9f68044f9e Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 24 Aug 2023 17:35:18 +1000 Subject: [PATCH] actions: Syntax error fix --- .gitea/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 71251ad..7d1408d 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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 .