From 9426e6c13e32bf1f5ec869950f271ab0be6af31a Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 17 Dec 2021 12:32:49 -0700 Subject: [PATCH] fixed pull_auth test Signed-off-by: Richard Jones --- tests/tasks/pull/pull_auth.cue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tasks/pull/pull_auth.cue b/tests/tasks/pull/pull_auth.cue index f821f74d..d11ab2dc 100644 --- a/tests/tasks/pull/pull_auth.cue +++ b/tests/tasks/pull/pull_auth.cue @@ -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