liskl/Docker Publish
Uses the git branch as the docker tag and pushes the container
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| name | The name of the image you would like to push | yes | — |
| username | The login username for the registry | yes | — |
| password | The login password for the registry | yes | — |
| registry | Use registry for pushing to a custom registry | no | — |
| snapshot | Use snapshot to push an additional image | no | — |
| default_branch | Set the default branch of your repository (default: master) | no | — |
| dockerfile | Use dockerfile when you would like to explicitly build a Dockerfile | no | — |
| workdir | Use workdir when you would like to change the directory for building | no | — |
| context | Use context when you would like to change the Docker build context. | no | — |
| buildargs | Use buildargs when you want to pass a list of environment variables as build-args | no | — |
| buildoptions | Use buildoptions when you want to configure options for building | no | — |
| cache | Use cache when you have big images, that you would only like to build partially | no | — |
| tags | Use tags when you want to bring your own tags (separated by comma) | no | — |
| tag_names | Use tag_names when you want to push tags/release by their git name | no | — |
| tag_semver | Push semver docker tags. e.g. image:1.2.3, image:1.2, image:1 | no | — |
| no_push | Set no_push to true if you want to prevent the action from pushing to a registry (default: false) | no | — |
Outputs
| name | description |
|---|---|
| tag | Is the tag, which was pushed |
| snapshot-tag | Is the tag that is generated by the snapshot-option and pushed |
| digest | Is the digest of the image, which was pushed |