Skip to content
tag

GitHub Action

Create the default Container Tags for the GlueOps Platform

0.3.0 Latest version

Create the default Container Tags for the GlueOps Platform

tag

Create the default Container Tags for the GlueOps Platform

The GlueOps Platform orchestrates CI/CD using container tags. This action produces the tags used by the platform

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Create the default Container Tags for the GlueOps Platform

uses: GlueOps/github-actions-create-container-tags@0.3.0

Learn more about this action in GlueOps/github-actions-create-container-tags

Choose a version

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.

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

- name: Create GlueOps Tags
    if: inputs.tags == ''
    uses: Glueops/github-actions-create-container-tags@v0.1.1
    id: create-tags