Sanitize invalid characters on Docker tag for Duo Workflow

Problem to solve

We use DW branch from upstream build to construct the Docker tag. Docker tag does not accept / character and fail the build.

Proposal

  • Add a script to sanitize branch name before tagging
Edited by Tan Le