Skip to content

Commit a109c95

Browse files
committed
fix image name in prepare step of cicero/cd
1 parent d8b0bff commit a109c95

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

nix/cloud/actions.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
}: {
55
"cicero/cd" = {
66
config,
7-
options,
87
lib,
8+
ociRegistry,
99
...
1010
}: {
1111
io = ''
@@ -34,11 +34,11 @@
3434
}
3535
'';
3636

37-
prepare = [
38-
rec {
37+
prepare = with cell.oci-images.cicero; [
38+
{
3939
type = "nix2container";
40-
name = cell.library.ociNamer imageDrv;
41-
imageDrv = cell.oci-images.cicero;
40+
name = "${ociRegistry}/${lib.removePrefix "registry.ci.iog.io/" imageName}:${imageTag}";
41+
imageDrv = drvPath;
4242
}
4343
];
4444

@@ -49,7 +49,7 @@
4949
let
5050
hcl =
5151
(
52-
(inputs.nixpkgs.lib.callPackageWith cell.constants.args.prod)
52+
(lib.callPackageWith cell.constants.args.prod)
5353
./nomadEnvs/cicero
5454
{
5555
inherit cell;

0 commit comments

Comments
 (0)