devops: fix docker script to work on GHA (#16522)

GHA doesn't have interactive terminal to attach.
This commit is contained in:
Andrey Lushnikov 2022-08-13 05:23:03 -07:00 committed by GitHub
parent 1bc6669467
commit b6f044d42b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ elif [[ "$2" == "test" ]]; then
./browser_patches/${BROWSER_NAME}/archive.sh $PWD/archive.zip
'
elif [[ "$2" == "compile" ]]; then
docker run --rm ${DOCKER_ARGS} --init --name "${DOCKER_CONTAINER_NAME}" --platform "${DOCKER_PLATFORM}" -it "${DOCKER_IMAGE_NAME}" /bin/bash -c '
docker run --rm ${DOCKER_ARGS} --init --name "${DOCKER_CONTAINER_NAME}" --platform "${DOCKER_PLATFORM}" -t "${DOCKER_IMAGE_NAME}" /bin/bash -c '
./browser_patches/checkout_build_archive_upload.sh "${BUILD_FLAVOR}"
'
elif [[ "$2" == "enter" ]]; then