sarpedondev/Compose Image Marker Update
Update Docker Compose image lines using marker comments like "# image-tag:backend".
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repo | Repository to update, for example owner/repo. Defaults to the current repository. | no | "" |
| branch | Branch to update. | no | main |
| token | GitHub token with write access to the target repository. | yes | — |
| image | Full image reference to write, for example ghcr.io/acme/api:sha123. | yes | — |
| marker | Marker name. The action looks for "# image-tag:<marker>". | yes | — |
| files | Newline or space separated glob patterns to search. | no | **/*.yml **/*.yaml |
| marker-prefix | Marker prefix. | no | image-tag |
| commit-message | Commit message. | no | "" |
| git-user-name | Git commit user name. | no | github-actions[bot] |
| git-user-email | Git commit user email. | no | github-actions[bot]@users.noreply.github.com |
| fail-on-missing | Fail if no matching marker is found. | no | true |
Outputs
| name | description |
|---|---|
| changed | Whether any file changed. |
| files | Comma-separated list of changed files. |