ci: fix docker tag name for dependabot PRs

This commit is contained in:
Jens Langhammer
2021-01-11 16:18:44 +01:00
parent f8756d0fc9
commit f8a426f0e8
3 changed files with 18 additions and 0 deletions

View File

@ -69,6 +69,12 @@ stages:
pool:
vmImage: 'ubuntu-latest'
steps:
- task: Bash@3
inputs:
targetType: 'inline'
script: |
set -x
echo '##vso[task.setvariable variable=branchName]$(echo "$(System.PullRequest.SourceBranch)" | sed "s/\//-/g")'
- task: Docker@2
inputs:
containerRegistry: 'dockerhub'