Skip to content

Commit

Permalink
chore: only build projects when buliding docker image (#4585)
Browse files Browse the repository at this point in the history
  • Loading branch information
techfg authored Feb 7, 2025
1 parent 3dee3a5 commit 80bd211
Showing 1 changed file with 5 additions and 4 deletions.
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

0 comments on commit 80bd211

Please sign in to comment.