mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-13 17:22:54 -05:00
Back to build ID - again
This commit is contained in:
@@ -13,11 +13,20 @@ pool:
|
||||
name: Hosted Ubuntu 1604
|
||||
|
||||
steps:
|
||||
- task: Docker@2
|
||||
- task: Docker@0
|
||||
displayName: 'Build an image'
|
||||
inputs:
|
||||
containerRegistry: 'Docker Hub'
|
||||
repository: 'ckaczor'
|
||||
command: 'buildAndPush'
|
||||
Dockerfile: 'Weather/SerialReader/Dockerfile'
|
||||
buildContext: 'Weather/SerialReader'
|
||||
tags: '$(Rev:r)'
|
||||
containerregistrytype: 'Container Registry'
|
||||
dockerRegistryConnection: 'Docker Hub'
|
||||
dockerFile: 'Weather/SerialReader/Dockerfile'
|
||||
imageName: 'ckaczor/home-monitor-weather-serialreader:$(Build.BuildId)'
|
||||
includeLatestTag: true
|
||||
|
||||
- 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