Skip to content

Commit

Permalink
Update build_forklift_bazel.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Benny Zlotnik <[email protected]>
  • Loading branch information
bennyz committed Feb 21, 2024
1 parent 313e20f commit 6a71d4f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build_forklift_bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ bazel run push-populator-controller
bazel run push-forklift-api
bazel run push-forklift-controller
bazel run push-forklift-validation
bazel run push-forklift-operator

# forklift-operator is not built with bazel
REGISTRY_ORG=ci make push-operator-image

ACTION_ENV="--action_env CONTROLLER_IMAGE=${REGISTRY}/forklift-controller:${REGISTRY_TAG} \
--action_env VALIDATION_IMAGE=${REGISTRY}/forklift-validation:${REGISTRY_TAG} \
--action_env OPERATOR_IMAGE=${REGISTRY}/forklift-operator:${REGISTRY_TAG} \
--action_env OPERATOR_IMAGE=${REGISTRY}/ci/forklift-operator:${REGISTRY_TAG} \
--action_env API_IMAGE=${REGISTRY}/forklift-api:${REGISTRY_TAG}"

# if provider is ovirt or openstack, builder populator controller
Expand Down Expand Up @@ -89,7 +91,7 @@ fi
bazel run push-forklift-operator-bundle \
--action_env CONTROLLER_IMAGE=${REGISTRY}/forklift-controller:${REGISTRY_TAG} \
--action_env VALIDATION_IMAGE=${REGISTRY}/forklift-validation:${REGISTRY_TAG} \
--action_env OPERATOR_IMAGE=${REGISTRY}/forklift-operator:${REGISTRY_TAG} \
--action_env OPERATOR_IMAGE=${REGISTRY}/ci/forklift-operator:${REGISTRY_TAG} \
--action_env API_IMAGE=${REGISTRY}/forklift-api:${REGISTRY_TAG} \
${ACTION_ENV}

Expand Down

0 comments on commit 6a71d4f

Please sign in to comment.