Skip to content

Commit

Permalink
Fix path to apko binary in apko_lock. (#92)
Browse files Browse the repository at this point in the history
Executables should refer to runfiles with short paths.
  • Loading branch information
sfc-gh-mhazy authored Aug 20, 2024
1 parent 9a40105 commit 819170e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apko/private/apko_lock.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _impl(ctx):
ctx.actions.write(
output = output,
content = LAUNCHER_TEMPLATE
.replace("{{apko_binary}}", apko_info.binary.path)
.replace("{{apko_binary}}", apko_info.binary.short_path)
.replace("{{config}}", ctx.file.config.short_path)
.replace("{{output}}", ctx.attr.lockfile_name),
is_executable = True,
Expand Down

0 comments on commit 819170e

Please sign in to comment.