From 4df8b3e0870c61635dba33e02a376317c8ca5d03 Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Mon, 26 Apr 2021 17:41:04 -0700 Subject: [PATCH] stdlib/dagger/op: Added #DockerLogin Signed-off-by: Sam Alba --- stdlib/dagger/op/op.cue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/stdlib/dagger/op/op.cue b/stdlib/dagger/op/op.cue index 92ec4c53..cbf09096 100644 --- a/stdlib/dagger/op/op.cue +++ b/stdlib/dagger/op/op.cue @@ -51,6 +51,14 @@ package op mount: [string]: "tmpfs" | "cache" | {from: _, path: string | *"/"} } +#DockerLogin: { + do: "docker-login" + target: string | *"https://index.docker.io/v1/" + username: string + // FIXME: should be a #Secret (circular import) + secret: string | bytes +} + #FetchContainer: { do: "fetch-container" ref: string