This commit is contained in:
parent
0e5464f5ee
commit
be25850914
1 changed files with 3 additions and 2 deletions
|
|
@ -57,13 +57,14 @@ steps:
|
||||||
echo -n $REGISTRY_PASS \
|
echo -n $REGISTRY_PASS \
|
||||||
| docker login -u $REGISTRY_USER --password-stdin $REGISTRY_HOST
|
| docker login -u $REGISTRY_USER --password-stdin $REGISTRY_HOST
|
||||||
- docker buildx create --name multiarch --use
|
- docker buildx create --name multiarch --use
|
||||||
|
- export DRONE_TAG=br-1.5.2
|
||||||
- |-
|
- |-
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
--output=type=image,push=true \
|
--output=type=image,push=true \
|
||||||
--progress tty \
|
--progress tty \
|
||||||
--build-arg TAG=$DRONE_TAG
|
--build-arg TAG=$DRONE_TAG \
|
||||||
-t $REGISTRY_HOST/$IMAGE:$DRONE_TAG
|
-t $REGISTRY_HOST/$IMAGE:$DRONE_TAG \
|
||||||
-t $REGISTRY_HOST/$IMAGE:latest \
|
-t $REGISTRY_HOST/$IMAGE:latest \
|
||||||
.
|
.
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue