Merge pull request #628 from TomChv/improve-docker-push

Improve docker.#Push definition
This commit is contained in:
Andrea Luzzardi
2021-07-01 18:25:40 +02:00
committed by GitHub
22 changed files with 447 additions and 131 deletions

View File

@@ -70,18 +70,23 @@ _No output._
## docker.#Push
Push a docker image
Push a docker image to a remote registry
### docker.#Push Inputs
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |
|*ref* | `string` |Remote ref (example: "index.docker.io/alpine:latest") |
|*source* | `dagger.#Artifact` |Image |
| 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 |
### docker.#Push Outputs
_No output._
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |
|*ref* | `string` |Image ref |
|*digest* | `string` |Image digest |
## docker.#Run