mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-16 10:58:32 -05:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -13,20 +13,11 @@ pool:
|
|||||||
name: Hosted Ubuntu 1604
|
name: Hosted Ubuntu 1604
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: Docker@0
|
- task: Docker@2
|
||||||
displayName: 'Build an image'
|
|
||||||
inputs:
|
inputs:
|
||||||
containerregistrytype: 'Container Registry'
|
containerRegistry: 'Docker Hub'
|
||||||
dockerRegistryConnection: 'Docker Hub'
|
repository: 'ckaczor'
|
||||||
dockerFile: 'Weather/SerialReader/Dockerfile'
|
command: 'buildAndPush'
|
||||||
imageName: 'ckaczor/home-monitor-weather-serialreader:$(Build.BuildId)'
|
Dockerfile: 'Dockerfile'
|
||||||
includeLatestTag: true
|
buildContext: 'Weather/SerialReader'
|
||||||
|
tags: '$(Rev:r)'
|
||||||
- task: Docker@0
|
|
||||||
displayName: 'Push an image'
|
|
||||||
inputs:
|
|
||||||
containerregistrytype: 'Container Registry'
|
|
||||||
dockerRegistryConnection: 'Docker Hub'
|
|
||||||
action: 'Push an image'
|
|
||||||
imageName: 'ckaczor/home-monitor-weather-serialreader:$(Build.BuildId)'
|
|
||||||
includeLatestTag: true
|
|
||||||
Reference in New Issue
Block a user