diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-07-12 20:12:53 -0700 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-07-12 20:12:53 -0700 |
commit | ab40c4e007c40f3d059ede3a912b9e180e04c274 (patch) | |
tree | d0867c82d785c1c2381527ca79fe8cc05de79453 /hooks | |
parent | 1f92e1746d0922574962113f41ba0804ddc3bdee (diff) | |
download | homer-ab40c4e007c40f3d059ede3a912b9e180e04c274.tar.gz homer-ab40c4e007c40f3d059ede3a912b9e180e04c274.tar.zst homer-ab40c4e007c40f3d059ede3a912b9e180e04c274.zip |
Adding support for release build.v20.07.1
Diffstat (limited to 'hooks')
-rw-r--r-- | hooks/post_push | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/hooks/post_push b/hooks/post_push index d721b68..3d4830d 100644 --- a/hooks/post_push +++ b/hooks/post_push | |||
@@ -1,7 +1,8 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | docker manifest push --purge b4bz/homer:latest | 3 | IFS='-' read -r TAG string <<< "$DOCKER_TAG" |
4 | docker manifest create b4bz/homer:latest b4bz/homer:latest-amd64 b4bz/homer:latest-arm32v7 b4bz/homer:latest-arm64v8 | 4 | |
5 | docker manifest annotate b4bz/homer:latest b4bz/homer:latest-arm32v7 --os linux --arch arm | 5 | docker manifest create b4bz/homer:$TAG b4bz/homer:$TAG-amd64 b4bz/homer:$TAG-arm32v7 b4bz/homer:$TAG-arm64v8 |
6 | docker manifest annotate b4bz/homer:latest b4bz/homer:latest-arm64v8 --os linux --arch arm64 --variant v8 | 6 | docker manifest annotate b4bz/homer:$TAG b4bz/homer:$TAG-arm32v7 --os linux --arch arm |
7 | docker manifest push --purge b4bz/homer:latest \ No newline at end of file | 7 | docker manifest annotate b4bz/homer:$TAG b4bz/homer:$TAG-arm64v8 --os linux --arch arm64 --variant v8 |
8 | docker manifest push --purge b4bz/homer:$TAG | ||