Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
justin committed 2023-01-28 11:23:31 -05:00
1 parent 6bbc8fd53f
commit 581ea3efaa
1 file changed
+4 -14
+4 -14
View File
@@ -11,19 +11,9 @@ resources:
variables:
tag: 'recklessop/$(Build.BuildId)'
stages:
- stage: Build
displayName: Build image
jobs:
- job: Build
displayName: Build
pool:
vmImage: ubuntu-latest
steps:
- task: Docker@2
displayName: Build an image
inputs:
command: build
dockerfile: '$(Build.SourcesDirectory)/Dockerfile'
tags: |
$(tag)
containerRegistry: 'recklessop-docker-hub'
repository: 'zerto-exporter'
command: 'buildAndPush'
Dockerfile: '**/Dockerfile'