Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): workaround to avoid mac DNS problems
Browse files Browse the repository at this point in the history
squakez committed Jan 17, 2024

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
1 parent 08c15bd commit ee54714
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
@@ -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

0 comments on commit ee54714

Please sign in to comment.