mirror of https://code.forgejo.org/forgejo/runner
Merge pull request 'remove trailing output from shasum' (#30) from earl-warren/runner:wip-sha into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/30pull/31/head v2.0.1
commit
d12aa56454
|
@ -52,4 +52,6 @@ jobs:
|
||||||
curl -L -sS $url/root/runner/releases/download/v1.2.3/forgejo-runner-amd64 > forgejo-runner
|
curl -L -sS $url/root/runner/releases/download/v1.2.3/forgejo-runner-amd64 > forgejo-runner
|
||||||
chmod +x forgejo-runner
|
chmod +x forgejo-runner
|
||||||
./forgejo-runner --version | grep 1.2.3
|
./forgejo-runner --version | grep 1.2.3
|
||||||
|
curl -L -sS $url/root/runner/releases/download/v1.2.3/forgejo-runner-amd64.sha256 > forgejo-runner.one
|
||||||
|
shasum -a 256 < forgejo-runner | cut -f1 -d ' ' > forgejo-runner.two
|
||||||
|
diff forgejo-runner.one forgejo-runner.two
|
||||||
|
|
|
@ -106,7 +106,7 @@ jobs:
|
||||||
for arch in amd64 arm64; do
|
for arch in amd64 arm64; do
|
||||||
docker create --platform linux/$arch --name runner ${{ steps.build.outputs.image }}
|
docker create --platform linux/$arch --name runner ${{ steps.build.outputs.image }}
|
||||||
docker cp runner:/bin/forgejo-runner release/forgejo-runner-$arch
|
docker cp runner:/bin/forgejo-runner release/forgejo-runner-$arch
|
||||||
shasum -a 256 < release/forgejo-runner-$arch > release/forgejo-runner-$arch.sha256
|
shasum -a 256 < release/forgejo-runner-$arch | cut -f1 -d ' ' > release/forgejo-runner-$arch.sha256
|
||||||
docker rm runner
|
docker rm runner
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue