Skip to content

Commit

Permalink
Merge pull request #4939 from B1F030/fix-local-up
Browse files Browse the repository at this point in the history
Fix env DOCKER_BUILD_ARGS in hack/local-up-karmada.sh
  • Loading branch information
karmada-bot committed May 15, 2024
2 parents e6c92d5 + 2cc5876 commit c7ca958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/local-up-karmada.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ util::create_cluster "${PULL_MODE_CLUSTER_NAME}" "${PULL_MODE_CLUSTER_TMP_CONFIG
export VERSION="latest"
export REGISTRY="docker.io/karmada"
export KARMADA_IMAGE_LABEL_VALUE="May_be_pruned_in_local-up-karmada.sh"
export DOCKER_BUILD_ARGS="--label=image.karmada.io=${KARMADA_IMAGE_LABEL_VALUE}"
export DOCKER_BUILD_ARGS="${DOCKER_BUILD_ARGS:-} --label=image.karmada.io=${KARMADA_IMAGE_LABEL_VALUE}"
make images GOOS="linux" --directory="${REPO_ROOT}"
#clean up dangling images
docker image prune --force --filter "label=image.karmada.io=${KARMADA_IMAGE_LABEL_VALUE}"
Expand Down

0 comments on commit c7ca958

Please sign in to comment.