move2docker/scripts/push.sh
2020-02-12 14:13:10 +01:00

8 lines
571 B
Bash

#!/bin/bash
docker push registry.chrz.de:443/move2docker:latest-$(arch)
docker manifest create registry.chrz.de:443/move2docker:latest registry.chrz.de:443/move2docker:latest-x86_64 registry.chrz.de:443/move2docker:latest-armv7l
docker manifest annotate registry.chrz.de:443/move2docker:latest registry.chrz.de:443/move2docker:latest-x86_64 --os linux --arch amd64
docker manifest annotate registry.chrz.de:443/move2docker:latest registry.chrz.de:443/move2docker:latest-armv7l --os linux --arch armv7
docker manifest push registry.chrz.de:443/move2docker:latest --purge