fixed pull_auth test

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones 2021-12-17 12:32:49 -07:00
parent 1b49a47369
commit 9426e6c13e
No known key found for this signature in database
GPG Key ID: CFB3A382EB166F4C

View File

@ -5,13 +5,13 @@ import (
)
engine.#Plan & {
context: secrets: dockerHubToken: envvar: "DOCKERHUB_TOKEN"
inputs: secrets: dockerHubToken: envvar: "DOCKERHUB_TOKEN"
actions: pull: engine.#Pull & {
source: "daggerio/ci-test:private-pull@sha256:c74f1b1166784193ea6c8f9440263b9be6cae07dfe35e32a5df7a31358ac2060"
auth: [{
target: "daggerio/ci-test:private-pull"
username: "daggertest"
secret: context.secrets.dockerHubToken.contents
secret: inputs.secrets.dockerHubToken.contents
}]
} & {
// assert result