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