Skip to content

Commit 91954e5

Browse files
committed
Address review comments; fix placeholder binary reuse bug
release.go: - Move manageBranchAndTag out of release-build (side-effect free) - Fix KO_CONFIG_PATH to point to file, not dir - Add --all to skopeo copy for full multi-arch manifest push Dockerfile: - Replace 'dummy' with 'placeholder' (woke linter) - Delete target/ after placeholder pre-build to prevent cargo from reusing placeholder binary instead of compiling real sources (placeholder mtime > git-restored src/ mtime -> cargo skipped rebuild) Assisted-by: 🤖 Claude Sonnet 4.6
1 parent a420d27 commit 91954e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runner/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN mkdir src && echo 'fn main() {}' > src/main.rs && \
3636
cargo build --release --target aarch64-unknown-linux-gnu 2>/dev/null; true \
3737
;; \
3838
esac && \
39-
rm -rf src
39+
rm -rf src target
4040

4141
COPY . .
4242

0 commit comments

Comments
 (0)