Skip to content

Commit

Permalink
Merge pull request #87 from stephengtuggy/github_sha_0.8.x
Browse files Browse the repository at this point in the history
script/cibuild: Forward GITHUB_SHA env variable
  • Loading branch information
stephengtuggy authored Dec 27, 2021
2 parents 9237788 + 59f41c7 commit 979cd81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/cibuild
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ then
DST_DOCKER_IMG_NAME="building-vsutcs:$(echo $FROM | sed 's/:/_/' | sed 's/\//_/')"
DOCKER_CONTAINER_NAME="building-vsutcs_$(echo $FROM | sed 's/:/_/' | sed 's/\//_/')"
docker build --build-arg from=$SRC_DOCKER_IMG_NAME -t $DST_DOCKER_IMG_NAME .
docker run --env IS_RELEASE=$IS_RELEASE --env TAG_NAME=$TAG_NAME --env FLAGS=$FLAGS --name $DOCKER_CONTAINER_NAME $DST_DOCKER_IMG_NAME $FLAGS
docker run --env IS_RELEASE=$IS_RELEASE --env TAG_NAME=$TAG_NAME --env GITHUB_SHA=$GITHUB_SHA --env FLAGS=$FLAGS --name $DOCKER_CONTAINER_NAME $DST_DOCKER_IMG_NAME $FLAGS
if [ $IS_RELEASE -eq 1 ]
then
docker cp $DOCKER_CONTAINER_NAME:/usr/src/vsUTCS/packages .
Expand Down

0 comments on commit 979cd81

Please sign in to comment.