From 70e3427b384c8eaf2ff8c007c6ccbc055f9ee383 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 2 Jan 2025 19:56:29 +0000 Subject: [PATCH] fix(ci): build and push correctly --- .gitea/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 87cefe0..8296a56 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -164,13 +164,15 @@ jobs: strlabels="${{ steps.meta.outputs.labels }}" strannotations="${{ steps.meta.outputs.annotations }}" readarray -t tags <<<"$strtags" - readarray -t labels <<<"$labels" - readarray -t annotations <<<"$annotations" + readarray -t labels <<<"$strlabels" + readarray -t annotations <<<"$strannotations" for element in "${tags[@]}"; do bldcmd="$bldcmd --tag \"$element\""; done for element in "${labels[@]}"; do bldcmd="$bldcmd --label \"$element\""; done for element in "${annotations[@]}"; do bldcmd="$bldcmd --annotation \"$element\""; done - echo $bldcmd - sh -c "$bldcmd ${{ gitea.workspace }}" + bldcmd="$bldcmd ${{ gitea.workspace }}" + echo "$bldcmd" + echo "" + sh -c "$bldcmd" - name: Push images run: |