silverlyra/Update latest Docker tag
Update the latest tag of a Docker repo, but only if the new image is a (semver) newer version than what's there already.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | Docker image repository to check and update. To update multiple repos, pass a multiline string. | yes | — |
| candidate-tag | The newly-pushed image tag that possibly should be promoted to latest | yes | — |
| latest-tag | The image tag to check and possibly update | yes | latest |
| version-source | Read an image's version from a label (label:...) or environment variable (env:...) | yes | label:org.opencontainers.image.version |
| promote-prerelease | Allow prerelease versions to replace non-prerelease latest | — | false |
| coerce-semver | Coerce detected version values to semver | — | false |
| manifest-platform | Read the current version from the container config of this platform in a multi-arch index / manifest list | — | linux/amd64 |
Outputs
| name | description |
|---|---|
| updated | Whether or not the image was updated (true or false) |
| latest-version | The detected version of the latest tag |
| candidate-version | The detected version of the candidate tag |