21 lines
414 B
CUE
21 lines
414 B
CUE
|
package docker
|
||
|
|
||
|
import (
|
||
|
"dagger.io/docker"
|
||
|
"dagger.io/dagger"
|
||
|
)
|
||
|
|
||
|
// Run with --input-file key=$HOME/.ssh/<your private server key>
|
||
|
key: dagger.#Artifact
|
||
|
passphrase: dagger.#Secret
|
||
|
user: dagger.#Secret
|
||
|
|
||
|
TestRun: run: docker.#Run & {
|
||
|
host: "143.198.64.230"
|
||
|
ref: "nginx:alpine"
|
||
|
"user": user
|
||
|
passphrase: "foobarbaz"
|
||
|
name: "daggerci-test-simple-\(random)"
|
||
|
"key": key
|
||
|
}
|