https://github.com/smashedr/docker-tags-action
Docker Tags Action
https://github.com/smashedr/docker-tags-action
Last synced: 6 months ago
JSON representation
Docker Tags Action
- Host: GitHub
- URL: https://github.com/smashedr/docker-tags-action
- Owner: smashedr
- License: gpl-3.0
- Created: 2024-07-02T22:08:10.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-26T08:36:11.000Z (9 months ago)
- Last Synced: 2024-11-10T15:50:50.807Z (8 months ago)
- Language: JavaScript
- Size: 299 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/smashedr/docker-tags-action/actions/workflows/tags.yaml)
[](https://github.com/smashedr/docker-tags-action/actions/workflows/test.yaml)
[](https://sonarcloud.io/summary/new_code?id=smashedr_docker-tags-action)
[](https://github.com/smashedr/docker-tags-action/releases/latest)
[](https://github.com/smashedr/docker-tags-action/graphs/commit-activity)
[](https://codeberg.org/shaner/docker-tags-action)
[](https://github.com/smashedr/docker-tags-action)
[](https://cssnr.github.io/)
[](https://discord.gg/wXy6m2X8wY)# Docker Tags Action
Generate Docker Tags. For a more detailed implementation see: https://github.com/docker/metadata-action
> [!NOTE]
> Please submit
> a [Feature Request](https://github.com/smashedr/docker-tags-action/discussions/categories/feature-requests)
> for new features or [Open an Issue](https://github.com/smashedr/docker-tags-action/issues) if you find any bugs.- [Inputs](#Inputs)
- [Outputs](#Outputs)
- [Examples](#Examples)
- [Support](#Support)
- [Contributing](#Contributing)## Inputs
| input | required | default | description |
| --------- | -------- | --------- | ------------------------------- |
| images | Yes | - | Image to Generate Tag for |
| extra | No | - | Extra Tags to Generate \* |
| seperator | No | `\n` | Tag Seperator for Output |
| latest | No | `default` | [`true`, `false`, `default`] \* |**extra** - Extra tags can be newline or comma seperated.
**latest** - Default behavior only adds `latest` tag to a release that are not a pre-release.
```yaml
- name: 'Update Tags'
uses: smashedr/docker-tags-action@master
with:
images: 'ghcr.io/${{ github.repository }}'
```### Outputs
| output | description |
| ------ | ------------------------ |
| tags | Tags Generated for Image |```yaml
- name: 'Generate Tags'
id: tags
uses: smashedr/docker-tags-action@master
with:
images: 'ghcr.io/${{ github.repository }}'- name: 'Echo Result'
run: echo '${{ steps.tags.outputs.tags }}'
```## Examples
Coming Soon...
# Support
For general help or to request a feature, see:
- Q&A Discussion: https://github.com/smashedr/docker-tags-action/discussions/categories/q-a
- Request a Feature: https://github.com/smashedr/docker-tags-action/discussions/categories/feature-requestsIf you are experiencing an issue/bug or getting unexpected results, you can:
- Report an Issue: https://github.com/smashedr/docker-tags-action/issues
- Chat with us on Discord: https://discord.gg/wXy6m2X8wY
- Provide General
Feedback: [https://cssnr.github.io/feedback/](https://cssnr.github.io/feedback/?app=Update%20JSON%20Value)# Contributing
Currently, the best way to contribute to this project is to star this project on GitHub.
Additionally, you can support other GitHub Actions I have published:
- [VirusTotal Action](https://github.com/cssnr/virustotal-action)
- [Update Version Tags Action](https://github.com/cssnr/update-version-tags-action)
- [Update JSON Value Action](https://github.com/cssnr/update-json-value-action)
- [Parse Issue Form Action](https://github.com/cssnr/parse-issue-form-action)
- [Mirror Repository Action](https://github.com/cssnr/mirror-repository-action)
- [Portainer Stack Deploy](https://github.com/cssnr/portainer-stack-deploy-action)
- [Mozilla Addon Update Action](https://github.com/cssnr/mozilla-addon-update-action)For a full list of current projects to support visit: [https://cssnr.github.io/](https://cssnr.github.io/)