mirror of
https://github.com/dagger/dagger-for-github.git
synced 2025-12-31 12:49:46 +11:00
- Remove AGE key setup - Update README to use `dagger do` - Update tests to dagger 0.2 Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
25 lines
362 B
CUE
Executable file
Generated
25 lines
362 B
CUE
Executable file
Generated
package docker
|
|
|
|
import (
|
|
"dagger.io/dagger"
|
|
)
|
|
|
|
// Change image config
|
|
#Set: {
|
|
// The source image
|
|
input: #Image
|
|
|
|
// The image config to change
|
|
config: dagger.#ImageConfig
|
|
|
|
_set: dagger.#Set & {
|
|
"input": input.config
|
|
"config": config
|
|
}
|
|
|
|
// Resulting image with the config changes
|
|
output: #Image & {
|
|
rootfs: input.rootfs
|
|
config: _set.output
|
|
}
|
|
}
|