f6bd78a3ca
Updates the `Go on Docker Swarm` use case to europa config. Diagrams are also included for better UX Signed-off-by: guillaume <guillaume.derouville@gmail.com>
21 lines
512 B
Plaintext
21 lines
512 B
Plaintext
package docs
|
|
|
|
import (
|
|
"dagger.io/dagger"
|
|
)
|
|
|
|
dagger.#Plan & {
|
|
client: {
|
|
// Locally, manual source of the .env or install https://direnv.net
|
|
env: {
|
|
GITHUB_SHA: string
|
|
SSH_PRIVATE_KEY_DOCKER_SWARM: dagger.#Secret
|
|
}
|
|
filesystem: {
|
|
"./": read: contents: dagger.#FS
|
|
"./merge.output": write: contents: actions.build.image.rootfs // Creates a build artifact for debug
|
|
}
|
|
network: "unix:///var/run/docker.sock": connect: dagger.#Socket // Docker daemon socket
|
|
}
|
|
}
|