techdevcenter/Custom Docker Build and Push
Build and push Docker images with caching
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repo | Repository name will be suffixed to image name as branch_repo_name:commit_hash | yes | — |
| branch | Branch name will be prefixed to image name as branch_repo_name:commit_hash | no | — |
| commit-hash | Commit hash | no | latest |
| docker-username | Docker Hub username | yes | — |
| docker-password | Docker Hub password | yes | — |
| env-file | .env file contents | no | — |
| push | Should it push image to docker | no | true |
| github-username | GitHub username, will be provided as a secret named github_username | no | — |
| github-token | GitHub Personal Access Token, will be provided as a secret named github_pat | no | — |
| npmrc | .npmrc file to use for private registries, will be provided as a secret named npmrc | no | — |
| bunfig | bunfig.toml file to use for private registries, will be provided as a secret named bunfig | no | — |
| context | Path to the build context | no | . |
| dockerfile | Will overwrite the file input to Docker build, {context}/Dockerfile will be used if not provided | no | — |
| target | Build target | no | — |
| build-args | Docker build arguments (multiline KEY=VALUE) | no | — |
Outputs
no outputs