Skip to content

fix: disable remote execution for apko_image build action#332

Open
rajatvig wants to merge 1 commit into
chainguard-dev:mainfrom
rajatvig:fix/no-remote-exec-apko-image
Open

fix: disable remote execution for apko_image build action#332
rajatvig wants to merge 1 commit into
chainguard-dev:mainfrom
rajatvig:fix/no-remote-exec-apko-image

Conversation

@rajatvig

@rajatvig rajatvig commented Jun 4, 2026

Copy link
Copy Markdown

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.

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 chainguard-dev#331.
@xnox

xnox commented Jun 4, 2026

Copy link
Copy Markdown
Member

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.

this is good; but how can i test all of these things? is there a way for me to setup remote executors in github action to excercise all of these compat things? Because next fix for something else will inevitably regress remote executors, again.

@rajatvig

rajatvig commented Jun 5, 2026

Copy link
Copy Markdown
Author

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.

this is good; but how can i test all of these things? is there a way for me to setup remote executors in github action to excercise all of these compat things? Because next fix for something else will inevitably regress remote executors, again.

Am unsure on that. We are using those as hosted runners. Maybe something like this might help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

apko_image action runs on RBE workers under Bazel 9, fails with permission denied

2 participants