File tree Expand file tree Collapse file tree
test-suites/full-stack-compose/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -555,10 +555,14 @@ assert_gateway_dns_credential_usable() {
555555}
556556
557557render_app () {
558- local label=$1 mode=$2 meta app_id hash
558+ local label=$1 mode=$2 meta app_id hash image_ref=$APP_IMAGE_ID
559+ # The v0.5.11 Docker Compose treats a local image ID (`sha256:...`) as a
560+ # repository name and tries to pull it. The pre-launch script has already
561+ # loaded the digest-recorded archive under its original tag.
562+ [[ " $mode " == auto ]] && image_ref=$APP_IMAGE
559563 meta=$( /suite/scripts/app_compose.py nginx \
560564 --name " ${APP_NAME} -${label} " \
561- --image-ref " $APP_IMAGE_ID " \
565+ --image-ref " $image_ref " \
562566 --image-archive app.tar \
563567 --artifact-port " $ARTIFACT_PORT " \
564568 --attestation-mode " $mode " \
You can’t perform that action at this time.
0 commit comments