branch-to-docker-tag-name/README.md
2022-09-03 17:41:20 +01:00

390 B

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
  id: branch-to-docker-tag
  with:
   branch: "feature/some-branch-name"
   prefix: "feature/"