Merge pull request #1550 from talentedmrjones/europa-decode-secret-task

implemented #DecodeSecret as engine task
This commit is contained in:
Solomon Hykes
2022-02-08 11:48:14 -08:00
committed by GitHub
4 changed files with 132 additions and 41 deletions

View File

@@ -1,8 +1,6 @@
package yarn
import (
"encoding/yaml"
"dagger.io/dagger"
"dagger.io/dagger/engine"
@@ -18,12 +16,9 @@ dagger.#Plan & {
}
actions: {
testSecrets: engine.#TransformSecret & {
input: inputs.secrets.test.contents
#function: {
input: _
output: yaml.Unmarshal(input)
}
testSecrets: dagger.#DecodeSecret & {
input: inputs.secrets.test.contents
format: "yaml"
}
marker: "hello world"