Skip to content

Commit

Permalink
fix(ci): workaround to avoid mac DNS problems
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Jan 18, 2024
1 parent cdda1dd commit eb9b03b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/kamel-build-binary/build-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ if [ -n "${REGISTRY_PUSH_HOST}" ]; then
# for docker to push the image.
#
export CUSTOM_IMAGE=${REGISTRY_PUSH_HOST}/${IMAGE_NAMESPACE}/camel-k

# TODO remove as soon as the issue is fixed
# https://github.com/actions/runner-images/issues/8649
if [ "$RUNNER_OS" == "macOS" ]; then
export CUSTOM_IMAGE="127.0.0.1:5000/${IMAGE_NAMESPACE}/camel-k"
fi
fi

if [ -n "${DEBUG_USE_EXISTING_IMAGE}" ] && [ -n "${CUSTOM_IMAGE}" ]; then
Expand Down

0 comments on commit eb9b03b

Please sign in to comment.