aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2019-09-20 10:54:18 +1000
committerGravatar scragly <[email protected]>2019-09-20 10:54:18 +1000
commitc3c443f7290b1707fa9f88ac2c39221192d0c9ef (patch)
tree85ce0e14f144422b7da2f2ed681af377dc8ebe92
parentAdd persistent datafile utils. (diff)
Update DockerV2 details and remove explicit login.
-rw-r--r--azure-pipelines.yml19
1 files changed, 6 insertions, 13 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index e73980f8..88df7320 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -39,17 +39,10 @@ jobs:
steps:
- task: Docker@2
- displayName: 'Login to Docker Hub'
-
- inputs:
- containerregistrytype: 'Container Registry'
- dockerRegistryEndpoint: 'DockerHub'
- command: 'login'
-
- - task: Docker@2
- displayName: 'Build & Push'
-
+ displayName: 'Build & Push Container'
inputs:
- command: buildAndPush
- repository: pythondiscord/seasonalbot
- tags: latest
+ containerRegistry: 'DockerHubV2'
+ repository: 'pythondiscord/seasonalbot'
+ command: 'buildAndPush'
+ Dockerfile: '**/Dockerfile'
+ tags: 'latest'