GitHub Action to convert a branch name to a valid docker tag name
If the branch is your main
branch then latest
will be returned.
- uses: sleepypikachu/[email protected]
id: branch-to-docker-tag
with:
branch: "feature/some-branch-name"
prefix: "feature/"