add support for custom docker image namespace (#361)

This commit is contained in:
Banana-J 2023-11-15 15:33:03 +11:00 committed by GitHub
parent 738584cf7a
commit 041b667fb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
[
{
"name": "tfXdcNode",
"image": "xinfinorg/${xdc_environment}:${image_tag}",
"image": "xinfinorg/${image_environment}:${image_tag}",
"environment": [
{"name": "PRIVATE_KEYS", "value": "${private_keys}"},
{"name": "LOG_LEVEL", "value": "${log_level}"},

View file

@ -3,7 +3,7 @@ data template_file devnet_container_definition {
template = "${file("${path.module}/container-definition.tpl")}"
vars = {
xdc_environment = "devnet"
image_environment = "${lookup(each.value, "imageEnvironment", "devnet")}"
image_tag = "${lookup(each.value, "imageTag", "latest")}"
node_name = "${each.key}"
private_keys = "${each.value.pk}"