diff --git a/build-publish.yml b/build-publish.yml index be4ab82..d614a2d 100644 --- a/build-publish.yml +++ b/build-publish.yml @@ -30,7 +30,7 @@ jobs: changeLogType: 'commitBased' assets: $(Build.ArtifactStagingDirectory)/*.zip displayName: 'Creating and publishing a release to Github' - - task: AzureKeyVault@1 + - task: AzureKeyVault@2 inputs: azureSubscription: 'OneIdentity.RD.SBox.Safeguard-ServiceConnection' KeyVaultName: 'SafeguardBuildSecrets' @@ -42,7 +42,7 @@ jobs: targetType: 'inline' failOnStderr: true script: | - docker login -u petrsnd --password-stdin <<<$(DockerHubAccessToken) 2>/dev/null + docker login -u danpetersonoi --password-stdin <<<$(DockerHubAccessToken) 2>/dev/null docker push oneidentity/safeguard-bash:$(VersionString)-alpine docker push oneidentity/safeguard-bash:latest docker logout diff --git a/build.sh b/build.sh index a9e8e75..5706c35 100755 --- a/build.sh +++ b/build.sh @@ -31,7 +31,7 @@ docker build \ --build-arg BUILD_VERSION=$Version \ --build-arg COMMIT_ID=$CommitId \ -t "oneidentity/safeguard-bash:${DockerVersionStr}alpine" \ - $ScriptDir + $ScriptDir 2>&1 docker tag "oneidentity/safeguard-bash:${DockerVersionStr}alpine" "oneidentity/safeguard-bash:latest" echo "Creating zip file artifact ..." diff --git a/pipeline-templates/global-variables.yml b/pipeline-templates/global-variables.yml index e9ead6c..cec4a10 100644 --- a/pipeline-templates/global-variables.yml +++ b/pipeline-templates/global-variables.yml @@ -1,6 +1,6 @@ variables: - name: version - value: "7.3" + value: "8.1" - name: isPrerelease value: ${{ false }} - name: shouldPublishDocker