Merge pull request #774 from grouville/docker-push-optional-auth
docker.#Push: Set auth as optional
This commit is contained in:
commit
696b8a4d4c
@ -78,8 +78,6 @@ Push a docker image to a remote registry
|
|||||||
| ------------- |:-------------: |:-------------: |
|
| ------------- |:-------------: |:-------------: |
|
||||||
|*target* | `string` |Remote target (example: "index.docker.io/alpine:latest") |
|
|*target* | `string` |Remote target (example: "index.docker.io/alpine:latest") |
|
||||||
|*source* | `dagger.#Artifact` |Image source |
|
|*source* | `dagger.#Artifact` |Image source |
|
||||||
|*auth.username* | `string` |Username |
|
|
||||||
|*auth.secret* | `string` |Password or secret |
|
|
||||||
|
|
||||||
### docker.#Push Outputs
|
### docker.#Push Outputs
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ import (
|
|||||||
source: dagger.#Artifact @dagger(input)
|
source: dagger.#Artifact @dagger(input)
|
||||||
|
|
||||||
// Registry auth
|
// Registry auth
|
||||||
auth: {
|
auth?: {
|
||||||
// Username
|
// Username
|
||||||
username: string @dagger(input)
|
username: string @dagger(input)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user