Skip to content

OpenSourcePolitics/clean-tag-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Clean tag action

Perform a simple string substitution on a tag name.

Inputs

  • tag: The tag name to clean.

Outputs

  • tag: The cleaned tag name.

Example usage

- name: Clean tag
  uses: OpenSourcePolitics/clean-tag-action@v1
  id: clean_tag
  with:
    tag: ${{ github.ref }}


# Use the cleaned tag name
- name: Build and push Docker image
  uses: OpenSourcePolitics/build-and-push-images-action@v1
  with:
    tag: ${{ steps.clean_tag.outputs.tag }}

Releases

No releases published

Packages

No packages published

Languages