Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Nov 8, 2024
1 parent 03101bd commit 7f7cc81
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nix/modules/flake-parts/container.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@
"org.opencontainers.image.source" = "https://github.com/srid/emanote";
};
};
in {
in
{
# Load the container locally with: `nix build .#container && ./result | podman load`
packages = lib.optionalAttrs pkgs.stdenv.isLinux { container = container; };

# Run this script in the CI to publish a new image
apps = lib.optionalAttrs pkgs.stdenv.isLinux {
apps = lib.optionalAttrs pkgs.stdenv.isLinux {
publish-container-release.program = pkgs.writeShellScriptBin "emanote-release" ''
set -e
export PATH=$PATH:${pkgs.gzip}/bin:${pkgs.skopeo}/bin
Expand Down

0 comments on commit 7f7cc81

Please sign in to comment.