-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docker): correct manifest creation syntax for proper multi-arch s…
…upport
- Loading branch information
Showing
1 changed file
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
#!/bin/bash | ||
VERSION="0.3.7" | ||
VERSION="0.3.9" | ||
|
||
# Create and push version manifest | ||
docker manifest create yarlson/zero:${VERSION} \ | ||
--amend yarlson/zero:${VERSION}-amd64 \ | ||
yarlson/zero:${VERSION}-amd64 \ | ||
yarlson/zero:${VERSION}-arm64v8 | ||
--amend yarlson/zero:${VERSION}-amd64 \ | ||
--amend yarlson/zero:${VERSION}-arm64v8 | ||
|
||
docker manifest push yarlson/zero:${VERSION} | ||
|
||
# Create and push latest manifest | ||
docker manifest create yarlson/zero:latest \ | ||
--amend yarlson/zero:latest-amd64 \ | ||
yarlson/zero:latest-amd64 \ | ||
yarlson/zero:latest-arm64v8 | ||
--amend yarlson/zero:latest-amd64 \ | ||
--amend yarlson/zero:latest-arm64v8 | ||
|
||
docker manifest push yarlson/zero:latest |