Skip to content
Snippets Groups Projects
Unverified Commit 013bf780 authored by Luis Paolini's avatar Luis Paolini Committed by GitHub
Browse files

Wipe special chars from branch names (#19673)

This is a safeguard against branch names with special chars which will be replaced by a "-" char
parent 94fac597
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ jobs:
steps:
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/} | sed 's/[^-._a-zA-Z0-9]/-/g')"
id: extract_branch
- uses: actions/checkout@v2
- name: Set up Docker Buildx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment