diff options
author | 2019-05-12 13:16:06 -0700 | |
---|---|---|
committer | 2019-05-12 13:16:06 -0700 | |
commit | c66b10f8820907fb7065cbede2e87c541da6029b (patch) | |
tree | 84a843adc1ddb83ba0cc5f0f3db89a15a8c2018c | |
parent | Use commit hash variable from variable group (diff) |
Remove pushing images for testing CI
-rw-r--r-- | azure-pipelines.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6a77fbc..b5a6860 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -32,7 +32,6 @@ jobs: - job: build displayName: 'Build' dependsOn: test - condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) variables: - group: snekbox @@ -67,16 +66,16 @@ jobs: - script: docker build -t pythondiscord/snekbox:latest -f docker/Dockerfile . displayName: 'Build Final Image' - - script: docker push pythondiscord/snekbox-base:latest + - script: echo "Base image push simulation" displayName: 'Push Base Image to Dockerhub' condition: and(succeeded(), variables.BASE_CHANGED) - - script: docker push pythondiscord/snekbox-venv:latest + - script: echo "Venv image push simulation" displayName: 'Push Virtual Environment Image to Dockerhub' condition: and(succeeded(), or(variables.BASE_CHANGED, variables.VENV_CHANGED)) - script: echo "##vso[task.setvariable variable=COMMIT_HASH]$Build.SourceVersion" displayName: 'Update Saved Commit Hash' - - script: docker push pythondiscord/snekbox:latest + - script: echo "Final image push simulation" displayName: 'Push Final Image to Dockerhub' |