ci(azure-pipelines): add build tags
This commit is contained in:
parent
dac20928d4
commit
318e9752f2
@ -31,6 +31,8 @@ jobs:
|
|||||||
--build-arg NO_PROXY='localhost,127.0.0.1,*.docker.internal,*.azmk8s.io,devfra.azurecr.io,devfra.westeurope.data.azurecr.io' \
|
--build-arg NO_PROXY='localhost,127.0.0.1,*.docker.internal,*.azmk8s.io,devfra.azurecr.io,devfra.westeurope.data.azurecr.io' \
|
||||||
--build-arg MOUNT_DIR=$(Build.Repository.LocalPath) \
|
--build-arg MOUNT_DIR=$(Build.Repository.LocalPath) \
|
||||||
--build-arg PROJECT_DIR=/fradrive \
|
--build-arg PROJECT_DIR=/fradrive \
|
||||||
|
--tag $(Build.BuildNumber) \
|
||||||
|
--tag frontend \
|
||||||
.
|
.
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Build backend image
|
displayName: Build backend image
|
||||||
@ -45,6 +47,8 @@ jobs:
|
|||||||
--build-arg NO_PROXY='localhost,127.0.0.1,*.docker.internal,*.azmk8s.io,devfra.azurecr.io,devfra.westeurope.data.azurecr.io' \
|
--build-arg NO_PROXY='localhost,127.0.0.1,*.docker.internal,*.azmk8s.io,devfra.azurecr.io,devfra.westeurope.data.azurecr.io' \
|
||||||
--build-arg MOUNT_DIR=$(Build.Repository.LocalPath) \
|
--build-arg MOUNT_DIR=$(Build.Repository.LocalPath) \
|
||||||
--build-arg PROJECT_DIR=/fradrive \
|
--build-arg PROJECT_DIR=/fradrive \
|
||||||
|
--tag $(Build.BuildNumber) \
|
||||||
|
--tag backend \
|
||||||
.
|
.
|
||||||
# - task: Docker@2
|
# - task: Docker@2
|
||||||
# name: dockerBuild
|
# name: dockerBuild
|
||||||
|
|||||||
Reference in New Issue
Block a user