Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -26,13 +26,24 @@ steps:
|
||||
docker images
|
||||
displayName: 'List docker images1'
|
||||
- task: Docker@2
|
||||
displayName: Build
|
||||
inputs:
|
||||
command: 'buildAndPush'
|
||||
command: build
|
||||
containerRegistry: $(dockerRegistryServiceConnection)
|
||||
repository: '$(imageName)'
|
||||
tags: '$(shortCommitSha)'
|
||||
Dockerfile: 'Dockerfile'
|
||||
arguments: '--build-arg VITE_BACKEND_URL=http://olympus-api-gateway-aks.olympusai.live/apollo'
|
||||
|
||||
- task: Docker@2
|
||||
displayName: Push
|
||||
inputs:
|
||||
command: push
|
||||
containerRegistry: $(dockerRegistryServiceConnection)
|
||||
repository: '$(imageName)'
|
||||
tags: '$(shortCommitSha)'
|
||||
arguments: '--build-arg VITE_BACKEND_URL=http://olympus-api-gateway-aks.olympusai.live/apollo'
|
||||
|
||||
- script: |
|
||||
echo "Listing the docker images..."
|
||||
docker images
|
||||
|
||||
Reference in New Issue
Block a user