docker.#Push: Set auth as optional

Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
This commit is contained in:
Guillaume de Rouville 2021-07-02 01:20:20 +02:00
parent 8753295169
commit ecd409951c
2 changed files with 5 additions and 7 deletions

View File

@ -78,8 +78,6 @@ Push a docker image to a remote registry
| ------------- |:-------------: |:-------------: |
|*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 |
### docker.#Push Outputs

View File

@ -37,7 +37,7 @@ import (
source: dagger.#Artifact @dagger(input)
// Registry auth
auth: {
auth?: {
// Username
username: string @dagger(input)