Skip to content

Commit

Permalink
fix deploy pipeline to authorize fetch of activities library
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioT90 committed Dec 19, 2024
1 parent 428afc3 commit 7e22eff
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .devops/deploy-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,31 @@ stages:

- task: Docker@2
condition: and(succeeded(), ${{ parameters.executeBuild }})
displayName: 'Build and publish $(imageRepository) image'
displayName: 'Build $(imageRepository) image'
inputs:
containerRegistry: '$(dockerRegistryServiceConnection)'
repository: '$(imageRepository)'
command: 'buildAndPush'
command: 'build'
buildContext: '.'
Dockerfile: 'Dockerfile'
arguments: "--build-arg GITHUB_TOKEN=$(GITHUB_PACKAGE_TOKEN)"
tags: |
latest
$(Build.SourceVersion)
$(getAppVersion.appVersion)
- task: Docker@2
condition: and(succeeded(), ${{ parameters.executeBuild }})
displayName: 'Push $(imageRepository) image'
inputs:
containerRegistry: '$(dockerRegistryServiceConnection)'
repository: '$(imageRepository)'
command: 'push'
tags: |
latest
$(Build.SourceVersion)
$(getAppVersion.appVersion)
- task: PublishPipelineArtifact@1
displayName: 'Publish manifests into pipeline artifacts'
condition: succeeded()
Expand Down

0 comments on commit 7e22eff

Please sign in to comment.