diff options
author | stuebinm | 2021-05-31 16:31:16 +0200 |
---|---|---|
committer | stuebinm | 2021-05-31 16:31:16 +0200 |
commit | 4cba21106d13aa021b2757a3a550244a884cfccf (patch) | |
tree | 450c72fa562529e629379f1b9e24a49b707aff91 /nix-modules | |
parent | 90dc63cc998becf832a7aed446a6b68ecbcf3906 (diff) |
nixos oci container: add tag option
Diffstat (limited to 'nix-modules')
-rw-r--r-- | nix-modules/docker-nixos-modules.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nix-modules/docker-nixos-modules.nix b/nix-modules/docker-nixos-modules.nix index 4f7c93d..8502d47 100644 --- a/nix-modules/docker-nixos-modules.nix +++ b/nix-modules/docker-nixos-modules.nix @@ -2,6 +2,7 @@ , dockerConfig , nixConfig , name +, tag ? "" , ...}: let @@ -49,7 +50,7 @@ let in pkgs.dockerTools.buildImage { - inherit name; + inherit name tag; # coreutils are included since we need them in startup scripts contents = pkgs.coreutils; |