aboutsummaryrefslogtreecommitdiff
path: root/Docker/hooks/pre_build
diff options
context:
space:
mode:
authorGravatar Benjamin Reich <Benni-Reich@hotmail.de> 2023-11-05 22:46:01 +0100
committerGravatar GitHub <noreply@github.com> 2023-11-05 22:46:01 +0100
commit8f07199777a2a3a6e233f858e110dbb0cfad6fad (patch)
treeb904c32c8112bd5fc00b52f2c653710cb23e4e0a /Docker/hooks/pre_build
parent3b2e66051bcf1f11c9b1f0ffe45cdfc5b766952f (diff)
add multi arch docker build (#5808)
* Add multi arch container build Co-authored-by: EdJoPaTo <rfc-conform-git-commit-email@funny-long-domain-label-everyone-hates-as-it-is-too-long.edjopato.de> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * using label from github action * dont remove static labels and split docker readme in seperate action * pin 3rd party action to a commit * enable pushing to dockerhub * Update .github/workflows/build-images.yml Co-authored-by: EdJoPaTo <github@edjopato.de> * remove not needed checkout * set github token permissions * Update .github/workflows/push-dockerhub-readme.yml * update docker readme to match new tags * Apply suggestions from code review * fix suffix for alpine image * fix suffix for alpine image * push images only at upstream repo * push images only at upstream repo * push images only at upstream repo * tag latest-alpine as alpine * tag latest-alpine as alpine * remove no needed falvor * keep falvor for build * Clean more things * Rename action To use same default name than https://github.com/actions/starter-workflows/blob/main/ci/docker-publish.yml * Rename readme action To use same default name than https://github.com/peter-evans/dockerhub-description/blob/main/.github/workflows/dockerhub-description.yml * Use default name for dockerhub-description https://github.com/peter-evans/dockerhub-description/blob/main/.github/workflows/dockerhub-description.yml Plus minor wording * Experiment with build-args * Debug * Add checkout back * Revert back to metadata-action * Remove quotes in version * Try to fix variables * Experiment with automatic label values again * Delete last Docker Hub hooks * Use only git SHA for org.opencontainers.image.revision https://specs.opencontainers.org/image-spec/annotations/#pre-defined-annotation-keys * Comment out semver for now Might be enabled later if desired * Enable major semver --------- Co-authored-by: EdJoPaTo <rfc-conform-git-commit-email@funny-long-domain-label-everyone-hates-as-it-is-too-long.edjopato.de> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> Co-authored-by: EdJoPaTo <github@edjopato.de>
Diffstat (limited to 'Docker/hooks/pre_build')
-rwxr-xr-xDocker/hooks/pre_build11
1 files changed, 0 insertions, 11 deletions
diff --git a/Docker/hooks/pre_build b/Docker/hooks/pre_build
deleted file mode 100755
index b2cda0e48..000000000
--- a/Docker/hooks/pre_build
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-if [[ $DOCKERFILE_PATH == *-ARM ]]; then
- # https://github.com/balena-io/qemu
- # Download a local copy of QEMU on Docker Hub build machine
- curl -LSs 'https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-arm.tar.gz' | tar -xzv --strip-components=1 --wildcards '*/qemu-*'
-
- # https://github.com/multiarch/qemu-user-static
- # 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
-fi