#comment out ssh commands
1 messages · Page 1 of 1 (latest)
Are you getting an error?
Here's a working example:
// The first time you run the hello
// action as `dagger do hello --log-format plain`,
// make sure to run `dagger project update` first,
// so that all required dependencies are available.
package hello
import (
"dagger.io/dagger"
"universe.dagger.io/bash"
"universe.dagger.io/alpine"
)
dagger.#Plan & {
actions: {
_alpine: alpine.#Build & {
packages: bash: _
}
// Hello world
hello: bash.#Run & {
input: _alpine.output
script: contents: """
# this is a comment
echo Hello World
"""
always: true
}
}
}
Hmm, interesting. I tried # but it kind of got ignored, and still complained about the sed command, ok, I'll wait for my other question to be answered 🙂