diff options
author | 2019-05-13 01:06:22 -0700 | |
---|---|---|
committer | 2019-05-13 01:06:22 -0700 | |
commit | a0b2db86a11ec2f34ac6c487beb6de8c688abc28 (patch) | |
tree | d2e2beb3992f1e580577a29d57affd5abe5a0a02 | |
parent | Make the JSON regex more robust (diff) |
Use alternate syntax for variables
-rw-r--r-- | azure-pipelines.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bfd132f..29ed3db 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -80,22 +80,22 @@ jobs: - script: docker build -t pythondiscord/snekbox-base:latest -f docker/base.Dockerfile . displayName: 'Build Base Image' - condition: and(succeeded(), eq(variables['BASE_CHANGED'], 'true')) + condition: and(succeeded(), eq(variables.BASE_CHANGED, 'true')) - script: docker build -t pythondiscord/snekbox-venv:latest -f docker/venv.Dockerfile . displayName: 'Build Virtual Environment Image' - condition: and(succeeded(), or(eq(variables['BASE_CHANGED'], 'true'), eq(variables['VENV_CHANGED'], 'true'))) + condition: and(succeeded(), or(eq(variables.BASE_CHANGED, 'true'), eq(variables.VENV_CHANGED, 'true'))) - script: docker build -t pythondiscord/snekbox:latest -f docker/Dockerfile . displayName: 'Build Final Image' - script: echo "Base image push simulation" displayName: 'Push Base Image to Dockerhub' - condition: and(succeeded(), eq(variables['BASE_CHANGED'], 'true')) + condition: and(succeeded(), eq(variables.BASE_CHANGED, 'true')) - script: echo "Venv image push simulation" displayName: 'Push Virtual Environment Image to Dockerhub' - condition: and(succeeded(), or(eq(variables['BASE_CHANGED'], 'true'), eq(variables['VENV_CHANGED'], 'true'))) + condition: and(succeeded(), or(eq(variables.BASE_CHANGED, 'true'), eq(variables.VENV_CHANGED, 'true'))) - script: echo "Final image push simulation" displayName: 'Push Final Image to Dockerhub' |