This commit is contained in:
parent
bd3b7d6451
commit
0e5464f5ee
1 changed files with 8 additions and 5 deletions
13
.drone.yml
13
.drone.yml
|
|
@ -8,7 +8,7 @@ environment:
|
|||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
arch: arm64
|
||||
|
||||
services:
|
||||
- name: dind
|
||||
|
|
@ -31,6 +31,10 @@ steps:
|
|||
case $(uname -a) in
|
||||
*x86_64*)
|
||||
export ARCH="amd64"
|
||||
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||
;;
|
||||
*aarch64*)
|
||||
export ARCH="arm64"
|
||||
;;
|
||||
*)
|
||||
export ARCH="unknown"
|
||||
|
|
@ -49,7 +53,6 @@ steps:
|
|||
- chmod a+x ~/.docker/cli-plugins/docker-buildx
|
||||
- docker version
|
||||
- docker buildx version
|
||||
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||
- |-
|
||||
echo -n $REGISTRY_PASS \
|
||||
| docker login -u $REGISTRY_USER --password-stdin $REGISTRY_HOST
|
||||
|
|
@ -74,6 +77,6 @@ steps:
|
|||
REGISTRY_PASS:
|
||||
from_secret: registry_password
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
#trigger:
|
||||
# event:
|
||||
# - tag
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue