2024-02-28 17:22:13 +00:00
|
|
|
# Action: generate docker build matrix
|
|
|
|
> This repository is only a mirror. Development and testing is done on a private gitea server.
|
2024-02-28 12:35:29 +00:00
|
|
|
|
2024-02-28 17:22:13 +00:00
|
|
|
This action generates a docker build matrix from a json-formatted list of versions
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
The following parameters can be used as `step.with` keys:
|
|
|
|
|
|
|
|
| Name | Type | Default | Required |Description |
|
|
|
|
| ------------------ | ------ | ------- |--------- |--------------------------------- |
|
2024-02-28 18:01:46 +00:00
|
|
|
| `versions ` | String | | yes | comma separated list of versions |
|
2024-02-28 17:22:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Example usage
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
jobs:
|
|
|
|
publish:
|
|
|
|
- name: Checkout Code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Generate docker build matrix
|
|
|
|
uses: ednz-cloud/docker-matrix-generator@v1
|
|
|
|
with:
|
2024-02-28 18:01:46 +00:00
|
|
|
versions: 2.2.8, 2.2.7, 2.2.4, 2.2.3
|
2024-02-28 17:22:13 +00:00
|
|
|
```
|