philips-labs/Docker Action
Github Action to build and push a Docker image
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| imageName | The name of the docker image | yes | — |
| workingDirectory | The working directory from which to run the docker commands | yes | . |
| dockerRegistry | The registry to push the image name | yes | docker.io |
| dockerfile | Path to Dockerfile | yes | Dockerfile |
| latestBranch | Optionally set the branch name used to create latest images from (by default this action will use `main` and `master`) | no | — |
| currentBranch | Optionally set the branch name to use for docker tag (some events do not set `GITHUB_REF` to current branch) | no | — |
| buildArgs | Optionally enter a list of `VARIABLE=value` strings that will be passed each as `--build-arg VARIABLE=value` to docker | no | — |
Outputs
| name | description |
|---|---|
| dockerTag | The docker tag of the built image |