docker.#Push: Set auth as optional
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
This commit is contained in:
parent
8753295169
commit
ecd409951c
@ -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
|
||||
|
||||
|
@ -37,7 +37,7 @@ import (
|
||||
source: dagger.#Artifact @dagger(input)
|
||||
|
||||
// Registry auth
|
||||
auth: {
|
||||
auth?: {
|
||||
// Username
|
||||
username: string @dagger(input)
|
||||
|
||||
|
Reference in New Issue
Block a user