2023-11-23 21:49:27 -05:00
|
|
|
name: Tag
|
|
|
|
desciption: Create Git tag
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
tag:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
description: Tag to publish
|
|
|
|
|
|
|
|
runs:
|
|
|
|
using: composite
|
|
|
|
steps:
|
2023-12-04 23:12:00 -05:00
|
|
|
- name: Create Tag
|
|
|
|
uses: docker://alpine/git
|
2023-11-23 21:49:27 -05:00
|
|
|
with:
|
|
|
|
entrypoint: git
|
2023-12-04 23:12:00 -05:00
|
|
|
args: tag -f ${{inputs.tag}} ${{github.sha}}
|
|
|
|
|
|
|
|
- name: Push Tag
|
|
|
|
uses: docker://alpine/git
|
|
|
|
with:
|
|
|
|
entrypoint: git
|
|
|
|
args: push -f origin ${{inputs.tag}}
|