Allow the commit to build to be specified

This commit is contained in:
Cameron Gutman
2021-01-15 20:15:18 -06:00
parent bdd9547742
commit 4313babeba
4 changed files with 7 additions and 6 deletions

View File

@@ -8,4 +8,4 @@ set -e
mkdir $OUT_DIR
docker build -f $DOCKERFILE -t cgutman/moonlight-packaging:$TAG_NAME .
docker run -it --rm --mount type=bind,source="$(pwd)"/$OUT_DIR,target=/out --mount type=bind,source="$(pwd)"/debian,target=/opt/debian cgutman/moonlight-packaging:$TAG_NAME
docker run -it --rm --mount type=bind,source="$(pwd)"/$OUT_DIR,target=/out --mount type=bind,source="$(pwd)"/debian,target=/opt/debian -e COMMIT="$1" cgutman/moonlight-packaging:$TAG_NAME