aboutsummaryrefslogtreecommitdiffhomepage
path: root/hooks/post_push
blob: 3d4830d2bcf0c68b16a177e8a212a856693a2b82 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/bash

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