mirror of
https://github.com/morten-olsen/morten-olsen.github.io.git
synced 2026-02-08 01:46:28 +01:00
24 lines
383 B
CUE
Executable File
Generated
24 lines
383 B
CUE
Executable File
Generated
package test
|
|
|
|
import (
|
|
"dagger.io/dagger"
|
|
"universe.dagger.io/aws"
|
|
"universe.dagger.io/docker"
|
|
)
|
|
|
|
dagger.#Plan & {
|
|
actions: {
|
|
build: aws.#Build
|
|
|
|
getVersion: docker.#Run & {
|
|
always: true
|
|
input: build.output
|
|
command: {
|
|
name: "sh"
|
|
flags: "-c": "aws --version > /output.txt"
|
|
}
|
|
export: files: "/output.txt": =~"^aws-cli/\(aws.#DefaultCliVersion)"
|
|
}
|
|
}
|
|
}
|