From a43fe354ec6e6226a41ecfd98cd0343a54e5a428 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Sun, 12 Jun 2022 16:15:54 +0200 Subject: Simplified & updated CI/CD --- hooks/post_push | 8 -------- hooks/pre_build | 8 -------- 2 files changed, 16 deletions(-) delete mode 100644 hooks/post_push delete mode 100644 hooks/pre_build (limited to 'hooks') diff --git a/hooks/post_push b/hooks/post_push deleted file mode 100644 index 3d4830d..0000000 --- a/hooks/post_push +++ /dev/null @@ -1,8 +0,0 @@ -#!/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 diff --git a/hooks/pre_build b/hooks/pre_build deleted file mode 100644 index bc1b6fe..0000000 --- a/hooks/pre_build +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -# Update to docker-ee 18.x for manifests -apt-get -y update -apt-get -y --only-upgrade install docker-ee -# Register qemu-*-static for all supported processors except the -# current one, but also remove all registered binfmt_misc before -docker run --rm --privileged multiarch/qemu-user-static:register --reset \ No newline at end of file -- cgit v1.2.3