https://github.com/glueops/github-actions-create-container-tags
https://github.com/glueops/github-actions-create-container-tags
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/glueops/github-actions-create-container-tags
- Owner: GlueOps
- Created: 2023-10-09T22:07:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-16T16:07:51.000Z (about 1 year ago)
- Last Synced: 2025-07-29T22:31:17.550Z (12 months ago)
- Homepage:
- Size: 22.5 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Custom Action to Create the Default GlueOps Image Tags
The GlueOps platform relies upon specific tags for CI/CD automation. This Action automates the creation of those tags.
## Tags Created
* `Target Reference:` Either Branch Name or Tag, depending upon the trigger context.
* `Short SHA`
* `SHA`
## Usage
Can be implemented as a stand alone action, or coupled with the action [GlueOps/github-actions-build-push-containers](https://github.com/GlueOps/github-actions-build-push-containers).
### Output Values
* `tags_csv`: comma-separated string of generated tags.
* `clean_target_ref`: the target reference (e.g. branch name or tag) with invalid characters for a container tag removed.
* `target_ref_type`: the type of target reference, one of ["branch", "pull_request", "tag", "unknown"].
### Example Configuration
```yaml
- name: Create GlueOps Tags
if: inputs.tags == ''
uses: Glueops/github-actions-create-container-tags@v0.1.1
id: create-tags
```