fix(ci): build and push correctly
This commit is contained in:
parent
d7884e9149
commit
70e3427b38
@ -164,13 +164,15 @@ jobs:
|
|||||||
strlabels="${{ steps.meta.outputs.labels }}"
|
strlabels="${{ steps.meta.outputs.labels }}"
|
||||||
strannotations="${{ steps.meta.outputs.annotations }}"
|
strannotations="${{ steps.meta.outputs.annotations }}"
|
||||||
readarray -t tags <<<"$strtags"
|
readarray -t tags <<<"$strtags"
|
||||||
readarray -t labels <<<"$labels"
|
readarray -t labels <<<"$strlabels"
|
||||||
readarray -t annotations <<<"$annotations"
|
readarray -t annotations <<<"$strannotations"
|
||||||
for element in "${tags[@]}"; do bldcmd="$bldcmd --tag \"$element\""; done
|
for element in "${tags[@]}"; do bldcmd="$bldcmd --tag \"$element\""; done
|
||||||
for element in "${labels[@]}"; do bldcmd="$bldcmd --label \"$element\""; done
|
for element in "${labels[@]}"; do bldcmd="$bldcmd --label \"$element\""; done
|
||||||
for element in "${annotations[@]}"; do bldcmd="$bldcmd --annotation \"$element\""; done
|
for element in "${annotations[@]}"; do bldcmd="$bldcmd --annotation \"$element\""; done
|
||||||
echo $bldcmd
|
bldcmd="$bldcmd ${{ gitea.workspace }}"
|
||||||
sh -c "$bldcmd ${{ gitea.workspace }}"
|
echo "$bldcmd"
|
||||||
|
echo ""
|
||||||
|
sh -c "$bldcmd"
|
||||||
|
|
||||||
- name: Push images
|
- name: Push images
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user