This action query GitHub API releases endpoint and get the latest release tag using a regex
Input | Required | Description |
---|---|---|
github_token | yes | GitHub token |
regex | yes | regex pattern to match only certain tags |
Output | Description |
---|---|
tag | Tag value extracted from releases |
- name: Update deployment container image
uses: resuelve/latest-release-tag-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
regex: "some regex"
Enjoy 🎉