diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-06-12 16:15:54 +0200 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-06-12 16:15:54 +0200 |
commit | a43fe354ec6e6226a41ecfd98cd0343a54e5a428 (patch) | |
tree | 0bb759707fb4a8a7f0844327c2b77ba349ea01d5 /hooks | |
parent | 1327cc0ab0e78d0cfc2fe11fddca8cc32dae8ac6 (diff) | |
download | homer-a43fe354ec6e6226a41ecfd98cd0343a54e5a428.tar.gz homer-a43fe354ec6e6226a41ecfd98cd0343a54e5a428.tar.zst homer-a43fe354ec6e6226a41ecfd98cd0343a54e5a428.zip |
Simplified & updated CI/CD
Diffstat (limited to 'hooks')
-rw-r--r-- | hooks/post_push | 8 | ||||
-rw-r--r-- | hooks/pre_build | 8 |
2 files changed, 0 insertions, 16 deletions
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 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | IFS='-' read -r TAG string <<< "$DOCKER_TAG" | ||
4 | |||
5 | docker manifest create b4bz/homer:$TAG b4bz/homer:$TAG-amd64 b4bz/homer:$TAG-arm32v7 b4bz/homer:$TAG-arm64v8 | ||
6 | docker manifest annotate b4bz/homer:$TAG b4bz/homer:$TAG-arm32v7 --os linux --arch arm | ||
7 | docker manifest annotate b4bz/homer:$TAG b4bz/homer:$TAG-arm64v8 --os linux --arch arm64 --variant v8 | ||
8 | 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 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | # Update to docker-ee 18.x for manifests | ||
4 | apt-get -y update | ||
5 | apt-get -y --only-upgrade install docker-ee | ||
6 | # Register qemu-*-static for all supported processors except the | ||
7 | # current one, but also remove all registered binfmt_misc before | ||
8 | docker run --rm --privileged multiarch/qemu-user-static:register --reset \ No newline at end of file | ||