Skip to content

Commit

Permalink
Support for releasing multiarch
Browse files Browse the repository at this point in the history
  • Loading branch information
winromulus committed Jan 12, 2020
1 parent 26c36fe commit 9e45656
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ stages:
command: login

- script: |
docker manifest create $(imageRepository):build-$(Build.BuildNumber) $(imageRepository):build-$(Build.BuildNumber)-amd64
docker manifest create $(imageRepository):build-$(Build.BuildNumber) $(imageRepository):build-$(Build.BuildNumber)-amd64 $(imageRepository):build-$(Build.BuildNumber)-arm32
docker manifest inspect $(imageRepository):build-$(Build.BuildNumber)
docker manifest push $(imageRepository):build-$(Build.BuildNumber)
displayName: "Create and push multi-arch manifest"
Expand Down Expand Up @@ -182,8 +182,8 @@ stages:
- script: |
docker pull $(imageRepository):build-$(Build.BuildNumber)-amd64
docker pull $(imageRepository):build-$(Build.BuildNumber)-arm32
docker manifest create $(imageRepository):$(Build.BuildNumber) $(imageRepository):build-$(Build.BuildNumber)-amd64
docker manifest create $(imageRepository):latest $(imageRepository):build-$(Build.BuildNumber)-amd64
docker manifest create $(imageRepository):$(Build.BuildNumber) $(imageRepository):build-$(Build.BuildNumber)-amd64 $(imageRepository):build-$(Build.BuildNumber)-arm32
docker manifest create $(imageRepository):latest $(imageRepository):build-$(Build.BuildNumber)-amd64 $(imageRepository):build-$(Build.BuildNumber)-arm32
docker manifest push $(imageRepository):$(Build.BuildNumber)
docker manifest push $(imageRepository):latest
displayName: 'docker pull, tag and push'
Expand Down

0 comments on commit 9e45656

Please sign in to comment.