]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Adding support for release build. v20.07.1
authorBastien Wirtz <bastien.wirtz@gmail.com>
Mon, 13 Jul 2020 03:12:53 +0000 (20:12 -0700)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Mon, 13 Jul 2020 03:12:53 +0000 (20:12 -0700)
hooks/post_push

index d721b68568aef5e7a6b1b276496d90deb6504c6d..3d4830d2bcf0c68b16a177e8a212a856693a2b82 100644 (file)
@@ -1,7 +1,8 @@
 #!/bin/bash
 
-docker manifest push --purge b4bz/homer:latest
-docker manifest create b4bz/homer:latest b4bz/homer:latest-amd64 b4bz/homer:latest-arm32v7 b4bz/homer:latest-arm64v8
-docker manifest annotate b4bz/homer:latest b4bz/homer:latest-arm32v7 --os linux --arch arm
-docker manifest annotate b4bz/homer:latest b4bz/homer:latest-arm64v8 --os linux --arch arm64 --variant v8
-docker manifest push --purge b4bz/homer:latest
\ No newline at end of file
+IFS='-' read -r TAG string <<< "$DOCKER_TAG"
+
+docker manifest create b4bz/homer:$TAG b4bz/homer:$TAG-amd64 b4bz/homer:$TAG-arm32v7 b4bz/homer:$TAG-arm64v8
+docker manifest annotate b4bz/homer:$TAG b4bz/homer:$TAG-arm32v7 --os linux --arch arm
+docker manifest annotate b4bz/homer:$TAG b4bz/homer:$TAG-arm64v8 --os linux --arch arm64 --variant v8
+docker manifest push --purge b4bz/homer:$TAG