jacobsvante/Version Tag Docker Image
Create semver tags for an existing Docker image (e.g. v0, v0.1, v0.1.2), utilizing info from release-please pull requests.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| image | Name of the docker image (e.g. `"my-namespace/my-image"`) | yes | — |
| version | Manually provided semantic version (e.g: 0.3.4) | yes | — |
| registry | Docker registry | yes | docker.io |
| username | Docker username | yes | — |
| password | Docker password | yes | — |
| push-latest-tag | Push `latest` tag to repository, in addition to version tags | — | true |
| add-pr-label | Add label `"version tagged: $inputs.registry"` to the relevant release-please created pull request | yes | true |
| pr-label-color | PR label color | yes | #0db7ed |
| token | Token for interacting with the Github API. Default to using the special GITHUB_TOKEN. Because of limitations imposed by GitHub, this must be set if you want the setting of the PR label to trigger an event. Personal access token only needs `pull-requests: write`. | yes | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| version | The version that was passed in to the action |
| commit-sha | Commit SHA that correlates to this version |
| pr-number | PR number that correlates to this version |