Commit graph

60 commits

Author SHA1 Message Date
Gerald Pinder
4a0fc3b4a1 chore: Use get_env_var 2025-05-16 09:57:12 -04:00
Gerald Pinder
00806b02e1 chore: Simplify opts using new ImageRef type 2025-05-09 16:58:51 -04:00
Gerald Pinder
0896907c0b chore(tests): Add extra test recipes 2025-05-09 16:58:51 -04:00
Gerald Pinder
b2253d598a feat: Add cache layer support 2025-05-09 16:58:51 -04:00
Gerald Pinder
44cecab3f4 chore: Format files 2025-04-29 00:50:28 -04:00
Gerald Pinder
5f648af104 chore: Clippy fixes 2025-04-28 23:51:35 -04:00
Gerald Pinder
ad53cdcb8c chore: Upgrade cached and use new sync_writes by_key for faster operations 2025-04-07 11:59:45 -04:00
Gerald Pinder
9ffedf5314 fix: Handle login for skopeo during rechunk flow 2025-03-26 15:23:00 -04:00
Gerald Pinder
4b15468c3d Revert "fix: Use sudo for login when using rechunk"
This reverts commit 185a34f86b.
2025-03-26 15:23:00 -04:00
Gerald Pinder
bd22b77430 Revert "fix: Fix lints and be sure to login before build in rechunk"
This reverts commit 51fd86ed6b.
2025-03-26 15:23:00 -04:00
Gerald Pinder
51fd86ed6b fix: Fix lints and be sure to login before build in rechunk 2025-03-26 14:11:43 -04:00
Gerald Pinder
185a34f86b fix: Use sudo for login when using rechunk 2025-03-26 13:56:16 -04:00
Gerald Pinder
7f8095d283 fix: Revert change to OciDir 2025-03-26 13:23:06 -04:00
Gerald Pinder
290fbc829b fix: Use sudo for skopeo copy for rechunk 2025-03-26 13:02:55 -04:00
Gerald Pinder
db9bf78c94 Add prompt for sudo 2025-03-23 17:25:06 -04:00
Gerald Pinder
9a3523a8a1 Lint fixes 2025-03-23 17:25:06 -04:00
Gerald Pinder
4537e29b55 Add check for using askpass 2025-03-23 17:25:06 -04:00
Gerald Pinder
883090ee85 Propogate use_sudo pattern to all traits that podman can be used in 2025-03-23 17:25:06 -04:00
Tom van Dijk
430d18de8a Apply suggestions from code review
Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2025-03-23 17:25:06 -04:00
Tom van Dijk
1bd8e926b4 fixup! feat(podman_driver): Invoke sudo when needed for privileged 2025-03-23 17:25:06 -04:00
Tom van Dijk
9963758a91 feat(podman_driver): Invoke sudo when needed for privileged
My motivation is that it's really a bad practice to just run `sudo bluebuild generate -o Containerfile`, as the file gets created as root and it's kind-of unsafe to the system too.

I'd rather have the tool invoke sudo by itselves for the things it needs it for, rather than wrapping the entire program in sudo.

This is especially the case for local (non-ci) builds.
2025-03-23 17:25:06 -04:00
Gerald Pinder
d084c3b7e0 fix: Filter out images whose repo or tag is <none> when listing images 2025-02-12 13:03:17 -05:00
Gerald Pinder
9b707ee1d9 chore: Add more context for list_images image parsing 2025-02-12 12:38:21 -05:00
Gerald Pinder
003e473de1 fix: Use lenient_semver for build drivers version check to handle pre-release versions 2025-02-10 20:39:12 -05:00
Gerald Pinder
0da26e37d5 fix: Check for buildx before using docker 2025-02-10 17:30:27 -05:00
Gerald Pinder
f1cc7cdf86 fix: Set tags on docker build 2025-02-04 18:23:59 -05:00
Gerald Pinder
f829580087 chore: Cleanup code before release and update deps 2025-01-31 23:20:51 -05:00
Gerald Pinder
6424bf3573 chore: Upgrade comlexr to 1.3.0 2025-01-31 18:03:53 -05:00
Gerald Pinder
b41ba22a02 chore: Use new comlexr features 2025-01-28 22:49:46 -05:00
Gerald Pinder
c68a889490 fix: Remove image for docker inspect after running image to get version 2025-01-19 11:20:02 -05:00
Gerald Pinder
cbb6efd14d chore: Switch to using my new proc_macro comlexr 2025-01-12 16:15:29 -05:00
Gerald Pinder
4a7293889d refactor: Make use of Reference to ensure typing 2024-12-29 18:14:59 -05:00
Gerald Pinder
50ed183cde feat: Allow fresh rechunking of image 2024-12-16 21:07:09 -05:00
Gerald Pinder
469c6044a6 fix: Typo in --all arg for buildah and podman prune 2024-12-14 00:48:12 -05:00
Gerald Pinder
d9b812d59b feat: Add the ability to choose a tempdir for builds 2024-12-09 12:15:38 -05:00
Gerald Pinder
4910292fb9 fix: Prevent certain builds from running when the PR is from a fork 2024-12-08 21:17:31 -05:00
Gerald Pinder
b4fbac2a66 feat(rechunk): Add the ability to rechunk an image 2024-12-02 02:23:22 -05:00
Gerald Pinder
1671ea2143 feat(prune)!: Create prune command 2024-11-27 14:30:29 -05:00
Gerald Pinder
2b7305c5d0 fix: Add logic for inspecting multi-manifest images 2024-11-26 21:21:26 -05:00
Gerald Pinder
918da22952
feat(init): Add the new/init subcommands (#85) 2024-11-14 20:15:12 -05:00
Gerald Pinder
e3b246ef91 feat: Include base image information in labels 2024-11-14 09:26:08 -05:00
Gerald Pinder
752c957914 chore: Remove need to update .gitignore by making use of temporary directories 2024-11-07 00:01:23 -05:00
Gerald Pinder
9a3ad0ae17 feat: Add validation command 2024-10-30 18:08:50 -04:00
Gerald Pinder
32092195d3
chore: Cleanup workflows to be run from just (#238) 2024-10-07 16:34:36 -04:00
Gerald Pinder
a0b256015b fix: Remove --load for docker build since we no longer pull the image for inspection 2024-10-06 12:25:46 -04:00
Gerald Pinder
b991b370a5 fix: Use full json inspection for docker inspect driver 2024-10-06 00:35:25 -04:00
Gerald Pinder
d93c13e261 fix: Use docker buildx imagetools to inspect for the docker inspect driver 2024-10-05 23:44:14 -04:00
Gerald Pinder
cd0fbfad6f fix: Ensure the correct digest is used for docker and podman inspect drivers 2024-10-05 22:09:50 -04:00
Gerald Pinder
4e0ab374c9 fix: Use built-in image inspection for podman and docker 2024-10-04 16:48:34 -04:00
Gerald Pinder
75eae89e4a feat: Add platform arg to force building a specific architecture 2024-10-03 14:47:47 -04:00