Skip to content

Commit

Permalink
Fixed the multiarch manifest script.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarusso committed Dec 7, 2021
1 parent 851f8da commit a134df7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
7 changes: 0 additions & 7 deletions containers/Ubuntu_20.04/create_multiarch_manifest.sh

This file was deleted.

22 changes: 22 additions & 0 deletions containers/Ubuntu_20.04/push_multiarch.sh
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

0 comments on commit a134df7

Please sign in to comment.