Skip to content

Commit 749a108

Browse files
Add ability to use secret variables in codefresh-run step
1 parent c6eec5d commit 749a108

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graduated/codefresh-run/step.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ spec:
137137
"examples": ["key=val"],
138138
"default": []
139139
},
140-
"SECRET": {
140+
"SECRETS": {
141141
"type": "array",
142142
"items": {
143143
"type": "string"
@@ -226,7 +226,7 @@ spec:
226226
[[ range .Arguments.VARIABLE ]]
227227
[[- $cmd = (printf "%s --variable %s" $cmd .) -]]
228228
[[- end -]]
229-
[[ range .Arguments.SECRET ]]
229+
[[ range .Arguments.SECRETS ]]
230230
[[- $cmd = (printf "%s --secret %s" $cmd .) -]]
231231
[[- end -]]
232232
[[ if .Arguments.VARIABLE_FILE ]]

0 commit comments

Comments
 (0)