diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index c552a7e..0659a95 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -22,9 +22,9 @@ jobs: echo "Packing $package" echo "$PWD/$package" ls "$PWD/$package" - docker run --rm -v "$PWD/$package:/build" -w /build chocolatey/choco pwd - docker run --rm -v "$PWD/$package:/build" -w /build chocolatey/choco ls - docker run --rm -v "$PWD/$package:/build" -w /build chocolatey/choco choco pack - docker run --rm -v "$PWD/$package:/build" -w /build chocolatey/choco choco push \ + docker run --rm --volume="$PWD/$package:/build" --workdir=/build chocolatey/choco pwd + docker run --rm --volume="$PWD/$package:/build" --workdir=/build chocolatey/choco ls + docker run --rm --volume="$PWD/$package:/build" --workdir=/build chocolatey/choco choco pack + docker run --rm --volume="$PWD/$package:/build" --workdir=/build chocolatey/choco choco push \ --source "${{ env.NUGET_URL }}" --key "${{ secrets.GITHUB_TOKEN }}" done