No description
Find a file
2023-12-28 17:59:37 -05:00
.helix Refactor Command Structs and create Earthly build 2023-12-19 02:23:31 +00:00
src feat(github): Add basic templating support for Github Actions 2023-12-28 17:59:37 -05:00
templates feat(github): Add basic templating support for Github Actions 2023-12-28 17:59:37 -05:00
.earthlyignore Add ability to use incremental caching for rust builds in Earthfile 2023-12-27 16:36:16 -05:00
.gitignore Ignore the .sccache dir just in case 2023-10-15 14:33:47 -04:00
.gitlab-ci.yml Include the cargo build pipeline 2023-10-14 20:01:08 -04:00
.rusty-hook.toml chore: add rusty-hook 2023-12-17 22:00:19 -05:00
Cargo.lock chore: Switch to using typed builders 2023-12-18 23:36:53 -05:00
Cargo.toml chore: Switch to using typed builders 2023-12-18 23:36:53 -05:00
CHANGELOG.md docs: Update README and CHANGELOG 2023-12-27 21:06:26 -05:00
Earthfile fix: add support for alpine image and using either podman or buildah 2023-12-28 16:28:34 -05:00
LICENSE Add LICENSE 2023-10-01 20:57:24 +00:00
README.md docs: Update README and CHANGELOG 2023-12-27 21:06:26 -05:00
rust-toolchain.toml chore: Add rust-toolchain.toml 2023-11-04 23:08:07 -04:00

Ublue CLI

This is my personal project trying to create a more conise version of the starting point repo all condensed into a single Rust based CLI tool.

Installation

Right now the only way to install this tool is to use cargo.

cargo install --locked ublue-rs

How to use

Templating

Once you have the CLI tool installed, you can run the following to pull in your recipe file to generate a Containerfile.

ublue template -o <CONTAINERFILE> <RECIPE_FILE>

You can then use this with podman to build and publish your image. Further options can be viewed by running ublue template --help

Building

If you don't care about the details of the template, you can run the build command.

ublue build ./config/recipe.yaml

This will template out the file and build with buildah or podman. If you're running in Gitlab CI with the pipeline like in the init template, it will automatically sign your image using Gitlab's own OIDC service.

Future Features

  • Update to the most recent stable style of the starting point template
  • Setup pipeline automation for publishing
  • Create an init command to create a repo for you to start out
  • Setup the project to allow installing with binstall
  • Create an install script for easy install for users without cargo