Skip to content

Commit b5572c2

Browse files
committed
removed --debug and added a --platform flag to the smoke test
1 parent 5a6f624 commit b5572c2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
# Clear some space (https://github.com/actions/runner-images/issues/2840)
7676
sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/share/boost
7777
78-
DOCKER_BUILDKIT=1 docker buildx build --debug --load -f Dockerfile \
78+
DOCKER_BUILDKIT=1 docker buildx build --load -f Dockerfile \
7979
--platform=${{ matrix.arch }} \
8080
--build-arg PIP_VERSION=$PIP_VERSION \
8181
--build-arg BUILDKIT_INLINE_CACHE=1 \

scripts/docker-smoke-test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ start_container() {
3030
fi
3131

3232
echo Starting container "$name"
33-
docker run -p "$port":"$port" \
33+
docker run --platform "$DOCKER_PLATFORM" \
34+
-p "$port":"$port" \
3435
--entrypoint uvicorn \
3536
-d \
3637
--rm \

0 commit comments

Comments
 (0)