aboutsummaryrefslogtreecommitdiffhomepage
path: root/hooks/post_push
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-05-19 20:41:05 -0700
committerBastien Wirtz <bastien.wirtz@gmail.com>2020-05-19 21:32:55 -0700
commitc92844bd0ed19747d0f06701475adbf73a3ab0e1 (patch)
tree0d51c443d51245f449eb46e871b5dde49ebd318f /hooks/post_push
parente6701f57ccbd61bf479635061339aeaf44b56116 (diff)
downloadhomer-c92844bd0ed19747d0f06701475adbf73a3ab0e1.tar.gz
homer-c92844bd0ed19747d0f06701475adbf73a3ab0e1.tar.zst
homer-c92844bd0ed19747d0f06701475adbf73a3ab0e1.zip
Fix multiarch docker build.
Diffstat (limited to 'hooks/post_push')
-rw-r--r--hooks/post_push5
1 files changed, 5 insertions, 0 deletions
diff --git a/hooks/post_push b/hooks/post_push
index d721b68..08384f3 100644
--- a/hooks/post_push
+++ b/hooks/post_push
@@ -1,5 +1,10 @@
1#!/bin/bash 1#!/bin/bash
2 2
3#!/bin/bash
4# downloads a local copy of qemu on docker-hub build machines
5curl -L https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-arm.tar.gz | tar zxvf - -C . && mv qemu-3.0.0+resin-arm/qemu-arm-static .
6
7
3docker manifest push --purge b4bz/homer:latest 8docker manifest push --purge b4bz/homer:latest
4docker manifest create b4bz/homer:latest b4bz/homer:latest-amd64 b4bz/homer:latest-arm32v7 b4bz/homer:latest-arm64v8 9docker manifest create b4bz/homer:latest b4bz/homer:latest-amd64 b4bz/homer:latest-arm32v7 b4bz/homer:latest-arm64v8
5docker manifest annotate b4bz/homer:latest b4bz/homer:latest-arm32v7 --os linux --arch arm 10docker manifest annotate b4bz/homer:latest b4bz/homer:latest-arm32v7 --os linux --arch arm