Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..."
Expand Down
2 changes: 1 addition & 1 deletion pipeline-templates/global-variables.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
variables:
- name: version
value: "7.3"
value: "8.1"
- name: isPrerelease
value: ${{ false }}
- name: shouldPublishDocker
Expand Down