From 51cbb7cc8e8b7b5911543462d8c47647b9075143 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 4 Feb 2021 23:15:35 +0100 Subject: [PATCH] ci: fix warning when setting branchName in PR --- azure-pipelines.yml | 4 ++-- outpost/azure-pipelines.yml | 6 +++--- web/azure-pipelines.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9c6b36c2a..21c38cf9c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -374,8 +374,8 @@ stages: targetType: 'inline' script: | set -x - branchName=$(echo "$(System.PullRequest.SourceBranch)" | sed "s/\//-/g")' - echo '##vso[task.setvariable variable=branchName]$branchName + branchName=$(echo "$(System.PullRequest.SourceBranch)" | sed "s/\//-/g") + echo "##vso[task.setvariable variable=branchName]$branchName" - task: Docker@2 inputs: containerRegistry: 'dockerhub' diff --git a/outpost/azure-pipelines.yml b/outpost/azure-pipelines.yml index 4dab4aecb..410df0d9a 100644 --- a/outpost/azure-pipelines.yml +++ b/outpost/azure-pipelines.yml @@ -94,12 +94,12 @@ stages: targetType: 'inline' script: | set -x - branchName=$(echo "$(System.PullRequest.SourceBranch)" | sed "s/\//-/g")' - echo '##vso[task.setvariable variable=branchName]$branchName + branchName=$(echo "$(System.PullRequest.SourceBranch)" | sed "s/\//-/g") + echo "##vso[task.setvariable variable=branchName]$branchName" - task: Docker@2 inputs: containerRegistry: 'dockerhub' - repository: 'beryju/authentik-outpost' + repository: 'beryju/authentik-proxy' command: 'buildAndPush' Dockerfile: 'outpost/proxy.Dockerfile' buildContext: 'outpost/' diff --git a/web/azure-pipelines.yml b/web/azure-pipelines.yml index 0060e0e2e..32aaec773 100644 --- a/web/azure-pipelines.yml +++ b/web/azure-pipelines.yml @@ -74,8 +74,8 @@ stages: targetType: 'inline' script: | set -x - branchName=$(echo "$(System.PullRequest.SourceBranch)" | sed "s/\//-/g")' - echo '##vso[task.setvariable variable=branchName]$branchName + branchName=$(echo "$(System.PullRequest.SourceBranch)" | sed "s/\//-/g") + echo "##vso[task.setvariable variable=branchName]$branchName" - task: Docker@2 inputs: containerRegistry: 'dockerhub'