diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index 39b0a6a..1ea2d40 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -40,7 +40,12 @@ jobs: echo "tags=$TAGS" - name: Image bauen - run: docker build --no-cache -t ${{ steps.img.outputs.tags }} . + run: | + ARGS=() + for t in ${{ steps.img.outputs.tags }}; do + ARGS+=("-t" "$t") + done + docker build --no-cache "${ARGS[@]}" . - name: Image pushen run: docker push ${{ steps.img.outputs.tags }} \ No newline at end of file