mirror of
https://github.com/apotdevin/thunderhub.git
synced 2024-11-19 01:40:03 +01:00
build: buildx setup
This commit is contained in:
parent
fdfe9b5959
commit
0a9ae34eb3
@ -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…
Reference in New Issue
Block a user