-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the multiarch manifest script.
- Loading branch information
Showing
2 changed files
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
USER="sarusso" | ||
VERSION="v0.1.3" | ||
|
||
echo "Tagging..." | ||
docker tag timeseria-amd64 docker.io/$USER/timeseria-amd64:$VERSION | ||
docker tag timeseria-arm64v8 docker.io/$USER/timeseria-arm64v8:$VERSION | ||
|
||
echo "Pushing images" | ||
docker push docker.io/$USER/timeseria-amd64:$VERSION | ||
docker push docker.io/$USER/timeseria-arm64v8:$VERSION | ||
|
||
echo "Creating manifest..." | ||
docker manifest create \ | ||
docker.io/$USER/timeseria:$VERSION \ | ||
--amend docker.io/$USER/timeseria-amd64:$VERSION \ | ||
--amend docker.io/$USER/timeseria-arm64v8:$VERSION | ||
|
||
echo "Pushing manifest" | ||
docker manifest push docker.io/$USER/timeseria:$VERSION |