6204970d53
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
15 lines
263 B
CUE
15 lines
263 B
CUE
dagger.#Plan & {
|
|
client: env: {
|
|
REGISTRY_USER: string
|
|
REGISTRY_TOKEN: dagger.#Secret
|
|
}
|
|
|
|
actions: pull: docker.#Pull & {
|
|
source: "registry.example.com/image"
|
|
auth: {
|
|
username: client.env.REGISTRY_USER
|
|
secret: client.env.REGISTRY_TOKEN
|
|
}
|
|
}
|
|
}
|