File tree Expand file tree Collapse file tree 2 files changed +8
-20
lines changed
Expand file tree Collapse file tree 2 files changed +8
-20
lines changed Original file line number Diff line number Diff line change 99 mkOCI = namespace : let
1010 # TODO: fix git rev
1111 # rev =
12- # if (inputs.self ? rev )
12+ # if (inputs.self.rev != "not-a-commit" )
1313 # then inputs.self.rev
1414 # else "dirty";
15- image = std . lib . ops . mkStandardOCI {
15+ in
16+ std . lib . ops . mkStandardOCI {
1617 name = "${ constants . registry } /jormungandr" ;
17- # tag = "${rev}-${ namespace}" ;
18+ tag = namespace ;
1819 operable = cell . operables . "jormungandr-${ namespace } " ;
1920 debug = true ;
2021 } ;
21- in
22- image
23- // {
24- imageTag = let
25- hash = l . head ( l . strings . splitString "-" ( baseNameOf image . outPath ) ) ;
26- in "${ hash } -${ namespace } " ;
27- } ;
2822in
2923 { }
3024 // lib . mapToNamespaces "jormungandr" mkOCI
Original file line number Diff line number Diff line change 99 mkOCI = namespace : let
1010 # TODO: fix git rev
1111 # rev =
12- # if (inputs.self ? rev )
12+ # if (inputs.self.rev != "not-a-commit" )
1313 # then inputs.self.rev
1414 # else "dirty";
15- image = std . lib . ops . mkStandardOCI {
15+ in
16+ std . lib . ops . mkStandardOCI {
1617 name = "${ constants . registry } /vit-servicing-station-server" ;
17- # tag = "${rev}-${ namespace}" ;
18+ tag = namespace ;
1819 operable = cell . operables . "vit-servicing-station-server-${ namespace } " ;
1920 debug = true ;
2021 } ;
21- in
22- image
23- // {
24- imageTag = let
25- hash = l . head ( l . strings . splitString "-" ( baseNameOf image . outPath ) ) ;
26- in "${ hash } -${ namespace } " ;
27- } ;
2822in
2923 { }
3024 // lib . mapToNamespaces "vit-servicing-station-server" mkOCI
You can’t perform that action at this time.
0 commit comments