05d79e8ba6
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
21 lines
523 B
CUE
21 lines
523 B
CUE
package main
|
|
|
|
import (
|
|
"dagger.io/dagger"
|
|
"universe.dagger.io/docker/cli"
|
|
)
|
|
|
|
dagger.#Plan & {
|
|
// Directory with certificates. Needs the following files:
|
|
// - ca.pem --> (Certificate authority that signed the registry certificate)
|
|
// - cert.pem --> (Client certificate)
|
|
// - key.pem --> (Client private key)
|
|
client: filesystem: "./certs": read: contents: dagger.#FS
|
|
|
|
actions: run: cli.#Run & {
|
|
host: "tcp://93.184.216.34:2376"
|
|
certs: client.filesystem."./certs".read.contents
|
|
command: name: "info"
|
|
}
|
|
}
|