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: {