Skip to content

Commit 160f796

Browse files
authored
fix: cloud build dart yaml is done before the /app image (#4956)
tested locally with the following to see the image get built ```shell podman run --rm \ --platform linux/amd64 \ --entrypoint /bin/bash \ -v $(pwd):/workspace \ -w /workspace \ us-docker.pkg.dev/flutter-dashboard/flutter/flutter \ -c "cloud_build/dashboard_build.sh" podman build \ --platform linux/amd64 \ -t us-docker.pkg.dev/flutter-dashboard/appengine/default.version-manual-build \ -f Dockerfile.app_dart . ``` inspecting the image: ```shell # pwd /app # ls analyze app_dart auto_submit dashboard dev licenses packages pubspec.lock pubspec.yaml # ls app_dart/build native_assets web # ls app_dart/build/web assets canvaskit favicon-failure.png favicon.png flutter.js flutter_bootstrap.js flutter_service_worker.js icons index.html main.dart.js main.dart.js.map manifest.json version.json ```
1 parent f0fe3f3 commit 160f796

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloud_build/dashboard_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Build flutter build dashboard.
77

8-
pushd app/dashboard > /dev/null
8+
pushd dashboard > /dev/null
99
set -e
1010
rm -rf build
1111
flutter doctor -v

0 commit comments

Comments
 (0)