jaredzieche/matrix-builder
Get all changed files from event and create a json object for use as a job matrix to build multiple docker images and promote then to different environments/registries
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| token | github token for api requests | yes | ${{github.token}} |
| config_path | path in repo to check for matrix configuration files, string in the form of repo path | yes | test/.* |
| file_type | filename to identify a directory as a build context | yes | Dockerfile |
| map_file | path to json file containing map of github runners to target envs | yes | test/map.json |
Outputs
| name | description |
|---|---|
| contextdirs | Array of all changed files |
| build-matrix | json object for use in image build job matrices |
| promotion-matrix | json object for use in image promotion job matrices |