Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: only build projects when buliding docker image #4585

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions scripts/tests/setup-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

set -e

# Ensure everything is built with latest code
# UESIO_DEV set to ensure packui is built
UESIO_DEV=true npm run build-all

# Ensure that we have a Uesio docker image to run
# In CI, we should have the image built already but locally we want to re-build on every run
if [[ -z "${APP_IMAGE}" ]]; then
# Ensure everything is built with latest code
echo "Building projects..."
# UESIO_DEV set to ensure packui is built
UESIO_DEV=true npm run build-all

echo "Building docker image..."
# use a specific tag to avoid each built image remaining in docker
IMAGE_TAG="uesio-test:latest"
Expand Down
Loading