fix(ci): build and push correctly

This commit is contained in:
Luke Tainton 2025-01-02 19:56:29 +00:00
parent d7884e9149
commit 70e3427b38
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo

View File

@ -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: |