A GitHub Action to convert a branch name to a valid docker tag name
Go to file
2022-09-04 19:49:14 +01:00
node_modules Initial Action for test 2022-09-03 16:50:35 +01:00
.gitignore Ignore swp 2022-09-03 17:13:24 +01:00
action.yml Remove unused yml key 2022-09-04 19:49:14 +01:00
index.js Fix edge case where substring could leave trailing seperators 2022-09-03 17:50:47 +01:00
LICENSE Initial commit 2022-09-03 16:00:06 +01:00
package-lock.json Initial Action for test 2022-09-03 16:50:35 +01:00
package.json Remove unused dependency 2022-09-03 17:49:27 +01:00
README.md Fork image name to tag name 2022-09-03 17:41:20 +01:00

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/"