Skip to content

Commit

Permalink
Modify #Push, #Pull tests
Browse files Browse the repository at this point in the history
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
  • Loading branch information
grouville committed Jan 31, 2022
1 parent ac30274 commit 7778389
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions tests/tasks/pull/pull_auth.cue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions tests/tasks/push/push.cue
Original file line number Diff line number Diff line change
Expand Up @@ -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: {

Expand Down

0 comments on commit 7778389

Please sign in to comment.