fixed pull_auth test
Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
parent
1b49a47369
commit
9426e6c13e
@ -5,13 +5,13 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
engine.#Plan & {
|
engine.#Plan & {
|
||||||
context: secrets: dockerHubToken: envvar: "DOCKERHUB_TOKEN"
|
inputs: secrets: dockerHubToken: envvar: "DOCKERHUB_TOKEN"
|
||||||
actions: pull: engine.#Pull & {
|
actions: pull: engine.#Pull & {
|
||||||
source: "daggerio/ci-test:private-pull@sha256:c74f1b1166784193ea6c8f9440263b9be6cae07dfe35e32a5df7a31358ac2060"
|
source: "daggerio/ci-test:private-pull@sha256:c74f1b1166784193ea6c8f9440263b9be6cae07dfe35e32a5df7a31358ac2060"
|
||||||
auth: [{
|
auth: [{
|
||||||
target: "daggerio/ci-test:private-pull"
|
target: "daggerio/ci-test:private-pull"
|
||||||
username: "daggertest"
|
username: "daggertest"
|
||||||
secret: context.secrets.dockerHubToken.contents
|
secret: inputs.secrets.dockerHubToken.contents
|
||||||
}]
|
}]
|
||||||
} & {
|
} & {
|
||||||
// assert result
|
// assert result
|
||||||
|
Reference in New Issue
Block a user