mirror of
https://github.com/morten-olsen/morten-olsen.github.io.git
synced 2026-02-08 01:46:28 +01:00
update
This commit is contained in:
30
cue.mod/pkg/universe.dagger.io/go/test/container.cue
generated
Executable file
30
cue.mod/pkg/universe.dagger.io/go/test/container.cue
generated
Executable file
@@ -0,0 +1,30 @@
|
||||
package go
|
||||
|
||||
import (
|
||||
"dagger.io/dagger"
|
||||
"universe.dagger.io/go"
|
||||
"universe.dagger.io/alpine"
|
||||
)
|
||||
|
||||
dagger.#Plan & {
|
||||
actions: test: {
|
||||
_source: dagger.#Scratch & {}
|
||||
|
||||
simple: go.#Container & {
|
||||
source: _source
|
||||
command: args: ["version"]
|
||||
}
|
||||
|
||||
override: {
|
||||
base: alpine.#Build & {
|
||||
packages: go: _
|
||||
}
|
||||
|
||||
command: go.#Container & {
|
||||
input: base.output
|
||||
source: _source
|
||||
command: args: ["version"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user