From ecd409951c22f1f7503435ca88a1bca9e0fc4685 Mon Sep 17 00:00:00 2001 From: Guillaume de Rouville Date: Fri, 2 Jul 2021 01:20:20 +0200 Subject: [PATCH] docker.#Push: Set auth as optional Signed-off-by: Guillaume de Rouville --- docs/reference/universe/docker/README.md | 10 ++++------ stdlib/docker/docker.cue | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/reference/universe/docker/README.md b/docs/reference/universe/docker/README.md index 29e8a01e..b59545de 100644 --- a/docs/reference/universe/docker/README.md +++ b/docs/reference/universe/docker/README.md @@ -74,12 +74,10 @@ Push a docker image to a remote registry ### docker.#Push Inputs -| Name | Type | Description | -| ------------- |:-------------: |:-------------: | -|*target* | `string` |Remote target (example: "index.docker.io/alpine:latest") | -|*source* | `dagger.#Artifact` |Image source | -|*auth.username* | `string` |Username | -|*auth.secret* | `string` |Password or secret | +| Name | Type | Description | +| ------------- |:-------------: |:-------------: | +|*target* | `string` |Remote target (example: "index.docker.io/alpine:latest") | +|*source* | `dagger.#Artifact` |Image source | ### docker.#Push Outputs diff --git a/stdlib/docker/docker.cue b/stdlib/docker/docker.cue index 79e2905a..8cacf6ef 100644 --- a/stdlib/docker/docker.cue +++ b/stdlib/docker/docker.cue @@ -37,7 +37,7 @@ import ( source: dagger.#Artifact @dagger(input) // Registry auth - auth: { + auth?: { // Username username: string @dagger(input)