tradeshift/docker action
does auth, build and push
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| build-args | list of build args | no | — |
| builder | buildx builder to use | no | — |
| builder-image | buildx image to use | no | — |
| context | docker context | no | . |
| file | path to dockerfile | no | — |
| labels | list of labels | no | — |
| load | wether to load the image in the docker deamon | no | — |
| password | Password for docker registry detected from the repository. | no | — |
| push | wether to push or not | no | true |
| platform | list of architectures to build against | no | — |
| repo-cache | use repo cache (actions/cache) for docker layers | no | false |
| repo-cache-key | use this to invalidate existing cache | no | buildx |
| repository | The repository where default tags will be pushed. If not specified this will default to eu.gcr.io/tradeshift-base/<repo-name> | no | — |
| registries | A mulitline string with registries to login to | no | — |
| tags | list of tags | no | — |
| username | Username for docker registry detected from the repository. | no | _json_key |
| auth-only | This flag can be used in case only authentication against docker repo is needed | no | false |
| skip-default-tag | This flag can be used to disable automatically tagging the image with the SHA. Skipping default tag requires specifying alternative tags. | no | — |
| skip-tag-with-prefix | This flag can be used to disable automatically tagging images with prefixes based on the type of build: on master branch or on pull rquest or when a tag is created in GitHub. An image built from a pull request is tagged with pr-<number>-<SHA>. An image built on merge to master branch is tagged with master-<SHA>. An image built from a tag is tagged with tag-<SHA>. | no | — |
| useqemu | This flag can be used to enable Qemu, which is used for multi architecture builds like arm | no | false |
| aws-access-key-id | AWS Access Key ID is required if runners are hosted by GitHub. | no | — |
| aws-secret-access-key | AWS Secret Key is required if runners are hosted by GitHub. | no | — |
Outputs
| name | description |
|---|---|
| builder | buildx builder name |
| image | full image name including git SHA tag |