Modify #Push, #Pull tests

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
This commit is contained in:
guillaume 2022-01-31 17:25:40 +01:00
parent ac30274d96
commit 7778389de9
2 changed files with 4 additions and 6 deletions

View File

@ -19,11 +19,10 @@ engine.#Plan & {
pull: engine.#Pull & {
source: "daggerio/ci-test:private-pull@sha256:c74f1b1166784193ea6c8f9440263b9be6cae07dfe35e32a5df7a31358ac2060"
auth: [{
target: "daggerio/ci-test:private-pull"
auth: {
username: "daggertest"
secret: sopsSecrets.output.DOCKERHUB_TOKEN.contents
}]
}
} & {
// assert result
digest: "sha256:c74f1b1166784193ea6c8f9440263b9be6cae07dfe35e32a5df7a31358ac2060"

View File

@ -12,11 +12,10 @@ engine.#Plan & {
args: ["-d", "../../secrets_sops.yaml"]
}
#auth: [{
target: "daggerio/ci-test:private-pull"
#auth: {
username: "daggertest"
secret: actions.sopsSecrets.output.DOCKERHUB_TOKEN.contents
}]
}
actions: {