adding docker buildx builder
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
03077c020a
commit
b5896123df
1 changed files with 4 additions and 0 deletions
4
build.sh
4
build.sh
|
@ -7,6 +7,10 @@ CONTAINER_USER=amd
|
||||||
echo "### MARK LOGIN "
|
echo "### MARK LOGIN "
|
||||||
echo $PUSH_TOKEN | docker login -u=$PUSH_USER --password-stdin $CONTAINER_HOST
|
echo $PUSH_TOKEN | docker login -u=$PUSH_USER --password-stdin $CONTAINER_HOST
|
||||||
|
|
||||||
|
echo "### MAKE BUILDER"
|
||||||
|
docker buildx create --use --name builder
|
||||||
|
|
||||||
|
|
||||||
echo "### MARK BUILD AMD64"
|
echo "### MARK BUILD AMD64"
|
||||||
docker buildx build --push \
|
docker buildx build --push \
|
||||||
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
||||||
|
|
Loading…
Reference in a new issue