bddb9b6543
Signed-off-by: Solomon Hykes <solomon@dagger.io>
23 lines
469 B
CUE
23 lines
469 B
CUE
package main
|
|
|
|
import (
|
|
"dagger.io/dagger"
|
|
"universe.dagger.io/docker/cli"
|
|
)
|
|
|
|
dagger.#Plan & {
|
|
client: filesystem: {
|
|
"~/.ssh/id_rsa": read: contents: dagger.#Secret
|
|
"~/.ssh/known_hosts": read: contents: dagger.#Secret
|
|
}
|
|
|
|
actions: run: cli.#Run & {
|
|
host: "ssh://root@93.184.216.34"
|
|
ssh: {
|
|
key: client.filesystem."~/.ssh/id_rsa".read.contents
|
|
knownHosts: client.filesystem."~/.ssh/known_hosts".read.contents
|
|
}
|
|
command: name: "info"
|
|
}
|
|
}
|