From f1b6ba398781f59e406a97c638fc2eb325eba277 Mon Sep 17 00:00:00 2001 From: Rajat Vig Date: Fri, 5 Jun 2026 00:49:12 +0100 Subject: [PATCH] fix: disable remote execution for apko_image build action The run_shell action in apko_image uses use_default_shell_env and absolute local paths, making it incompatible with remote executors. Add execution_requirements = {"no-remote-exec": "1"} to force local execution. Fixes #331. --- apko/private/apko_image.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/apko/private/apko_image.bzl b/apko/private/apko_image.bzl index c70609d..3c7ad2a 100644 --- a/apko/private/apko_image.bzl +++ b/apko/private/apko_image.bzl @@ -109,6 +109,7 @@ def _impl(ctx): tools = [apko_info.binary], outputs = [output], use_default_shell_env = True, + execution_requirements = {"no-remote-exec": "1"}, ) return DefaultInfo(