From 7778389de9581b6c9b7a568d4164869ad5952c34 Mon Sep 17 00:00:00 2001 From: guillaume Date: Mon, 31 Jan 2022 17:25:40 +0100 Subject: [PATCH] Modify #Push, #Pull tests Signed-off-by: guillaume --- tests/tasks/pull/pull_auth.cue | 5 ++--- tests/tasks/push/push.cue | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/tasks/pull/pull_auth.cue b/tests/tasks/pull/pull_auth.cue index f6f3670b..5b9c44fa 100644 --- a/tests/tasks/pull/pull_auth.cue +++ b/tests/tasks/pull/pull_auth.cue @@ -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" diff --git a/tests/tasks/push/push.cue b/tests/tasks/push/push.cue index f7d2efd1..27641a18 100644 --- a/tests/tasks/push/push.cue +++ b/tests/tasks/push/push.cue @@ -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: {