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 3fbc9e9 commit e419a10Copy full SHA for e419a10
.github/workflows/trivyscan.yml
@@ -4,6 +4,8 @@ on:
4
push:
5
branches:
6
- ci/nightly-builds
7
+ paths:
8
+ - 'environments/.stackhpc/terraform/cluster_image.json'
9
10
jobs:
11
scan:
environments/.stackhpc/terraform/main.tf
@@ -25,10 +25,14 @@ variable "os_version" {
25
default = "RL9"
26
}
27
28
+locals {
29
+ image_names = jsondecode(file("./cluster_image.json"))
30
+}
31
+
32
variable "cluster_image" {
33
description = "single image for all cluster nodes, keyed by os_version - a convenience for CI"
34
type = map(string)
- default = jsondecode(file("./cluster_image.json"))
35
+ default = locals.image_names
36
37
38
variable "cluster_net" {}
0 commit comments