Skip to content

Commit

Permalink
ci: build images conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
nugaon committed Jul 1, 2024
1 parent a795468 commit 6fcaac3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ jobs:
run: |
cd ./orchestrator
BUILD_PARAMS=""
if [ $BUILD_IMAGE == 'true' ] ; then
if [ "$BUILD_IMAGE" = 'true' ]; then
BUILD_PARAMS+=" --build-base-bee --base-bee-commit-hash=$BEE_VERSION"
fi
if [ $STATE_COMMIT == 'true' ] ; then
if [ "$STATE_COMMIT" = 'true' ]; then
BUILD_PARAMS+=" --gen-traffic"
fi
if [ $BUILD_PARAMS != "" ] ; then
if [ -n "$BUILD_PARAMS" ]; then
BUILD_PARAMS="-- $BUILD_PARAMS"
fi
npm run build:env $BUILD_PARAMS
Expand Down

0 comments on commit 6fcaac3

Please sign in to comment.