We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e27f4fd commit a245138Copy full SHA for a245138
nix/cloud/nomadEnvs/cicero/default.nix
@@ -117,6 +117,9 @@
117
# go-getter reads from the NETRC env var or $HOME/.netrc
118
# https://github.com/hashicorp/go-getter/blob/4553965d9c4a8d99bd0d381c1180c08e07eff5fd/netrc.go#L24
119
NETRC = "/secrets/netrc";
120
+
121
+ CICERO_EVALUATOR_NIX_OCI_REGISTRY = "docker://registry.ci.iog.io";
122
+ REGISTRY_AUTH_FILE = "/secrets/docker";
123
};
124
125
template =
@@ -152,6 +155,17 @@
152
155
'';
153
156
env = true;
154
157
}
158
159
+ {
160
+ destination = "/secrets/docker";
161
+ data = ''{
162
+ "auths": {
163
+ "registry.ci.iog.io": {
164
+ "auth": "{{with secret "kv/data/cicero/docker"}}{{with .Data.data}}{{print .user ":" .password | base64Encode}}{{end}}{{end}}"
165
+ }
166
167
+ }'';
168
169
];
170
171
0 commit comments