aboutsummaryrefslogtreecommitdiffhomepage
path: root/hooks
diff options
context:
space:
mode:
authorAmir Zarrinkafsh <nightah@me.com>2020-05-20 15:31:02 +1000
committerAmir Zarrinkafsh <nightah@me.com>2020-05-20 15:31:02 +1000
commit5a5412c5d12d535b41084a7e1971922af156ae7c (patch)
treea6182915342fc6ec9f1102bcda69a07ff1083e98 /hooks
parentc92844bd0ed19747d0f06701475adbf73a3ab0e1 (diff)
downloadhomer-5a5412c5d12d535b41084a7e1971922af156ae7c.tar.gz
homer-5a5412c5d12d535b41084a7e1971922af156ae7c.tar.zst
homer-5a5412c5d12d535b41084a7e1971922af156ae7c.zip
Fixing multi-arch container builds
Diffstat (limited to 'hooks')
-rw-r--r--hooks/post_push5
1 files changed, 0 insertions, 5 deletions
diff --git a/hooks/post_push b/hooks/post_push
index 08384f3..d721b68 100644
--- a/hooks/post_push
+++ b/hooks/post_push
@@ -1,10 +1,5 @@
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
8docker manifest push --purge b4bz/homer:latest 3docker manifest push --purge b4bz/homer:latest
9docker manifest create b4bz/homer:latest b4bz/homer:latest-amd64 b4bz/homer:latest-arm32v7 b4bz/homer:latest-arm64v8 4docker manifest create b4bz/homer:latest b4bz/homer:latest-amd64 b4bz/homer:latest-arm32v7 b4bz/homer:latest-arm64v8
10docker manifest annotate b4bz/homer:latest b4bz/homer:latest-arm32v7 --os linux --arch arm 5docker manifest annotate b4bz/homer:latest b4bz/homer:latest-arm32v7 --os linux --arch arm