aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'