mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-21 22:11:37 +01:00
build: buildx setup
This commit is contained in:
parent
fdfe9b5959
commit
0a9ae34eb3
1 changed files with 4 additions and 2 deletions
|
@ -40,8 +40,10 @@ fi
|
|||
|
||||
START=`date +%s`
|
||||
|
||||
docker buildx create --name mybuilder --use
|
||||
docker buildx install
|
||||
|
||||
docker buildx build \
|
||||
docker build \
|
||||
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
||||
--tag $REPO:$VERSION \
|
||||
--file ./Dockerfile \
|
||||
|
@ -55,7 +57,7 @@ echo "Building basepath multiarch image for" $REPO
|
|||
echo
|
||||
echo
|
||||
|
||||
docker buildx build \
|
||||
docker build \
|
||||
--build-arg BASE_PATH='/thub' \
|
||||
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
||||
--tag $REPO:$BASE-$VERSION \
|
||||
|
|
Loading…
Add table
Reference in a new issue