mirror of
https://github.com/sleepypikachu/actions-branch-to-docker-tag-name.git
synced 2024-11-23 10:43:50 +08:00
A GitHub Action to convert a branch name to a valid docker tag name
node_modules | ||
.gitignore | ||
action.yml | ||
index.js | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md |
actions-branch-to-docker-tag-name
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.
Example
- uses: sleepypikachu/actions-branch-to-docker-tag-name@v1.0.0
id: branch-to-docker-tag
with:
branch: "feature/some-branch-name"
prefix: "feature/"