From b0ab46562f14ad1c645e513f18c35caeb14c7459 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..49260a7 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 .