actions-marketplace-validations/GitHub Docker Action
Build and publish your repository as a Docker image and push it to GitHub Package Registry in one step
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| accessToken | GitHub Repository Token to log in using. | yes | — |
| imageName | The desired name for the image. Defaults to current repository name. | no | — |
| tag | The desired tag for the image. Defaults to latest. Optionally accepts multiple tags separated by newline. | no | latest |
| buildArgs | Any additional build arguments to use when building the image, separated by newline. | no | — |
| context | Where should GitHub Docker find the Dockerfile, relative to the root of the repository. | no | . |
| contextName | What Dockerfile should GitHub Docker be using when building. Defaults to traditional Dockerfile name. | no | Dockerfile |
| containerRegistry | Whether or not to push to GitHub Container Registry instead of GitHub Package Registry. | no | false |
| repository | The repository to push the image to. Defaults to the current repository. Must be specified in format user/repo. | no | — |
Outputs
| name | description |
|---|---|
| imageURL | The URL of the image, without the tag. |