diff --git a/.github/workflows/arm64-release.yml b/.github/workflows/arm64-release.yml index 47a5889d96..e03131749f 100644 --- a/.github/workflows/arm64-release.yml +++ b/.github/workflows/arm64-release.yml @@ -25,7 +25,7 @@ jobs: docker build . -f etc/dockerfiles/arm64.Dockerfile -t stack --build-arg USERID=$(id -u) --build-arg GROUPID=$(id -g) rm -rf _release mkdir -p _release - docker run --rm -v $(pwd):/src -w /src stack bash -c "/usr/local/bin/release build" + docker run --rm -v $(pwd):/src -w /src stack bash -c "/home/stack/release build" - name: Upload bindist uses: actions/upload-artifact@v2 diff --git a/etc/dockerfiles/arm64.Dockerfile b/etc/dockerfiles/arm64.Dockerfile index 6320b567ac..5a0b05a149 100644 --- a/etc/dockerfiles/arm64.Dockerfile +++ b/etc/dockerfiles/arm64.Dockerfile @@ -30,4 +30,4 @@ USER stack RUN cd /src && stack build --only-snapshot --test && stack build shake COPY etc/scripts/release.hs /src -RUN stack script --resolver lts-17.10 --compile /src/release.hs && cp /src/release /usr/local/bin +RUN stack script --resolver lts-17.10 --compile /src/release.hs -- --version && cp /src/release /home/stack