Restored tag directives.
This commit is contained in:
parent
ea7f123e2c
commit
f046d78430
1 changed files with 4 additions and 5 deletions
|
|
@ -33,8 +33,7 @@ steps:
|
|||
- 'docker run --rm --privileged multiarch/qemu-user-static --reset -p yes'
|
||||
- 'echo -n $REGISTRY_PASS | docker login -u $REGISTRY_USER --password-stdin $REGISTRY_HOST'
|
||||
- 'docker buildx create --name multiarch --use'
|
||||
#- 'docker buildx build --platform linux/amd64,linux/arm64 --output=type=image,push=true --progress tty --build-arg TAG=$DRONE_TAG -t $REGISTRY_HOST/$IMAGE:$DRONE_TAG -t $REGISTRY_HOST/$IMAGE:latest .'
|
||||
- 'docker buildx build --platform linux/amd64,linux/arm64 --output=type=image,push=true --progress tty --build-arg TAG="br-1.5.2" -t $REGISTRY_HOST/$IMAGE:latest .'
|
||||
- 'docker buildx build --platform linux/amd64,linux/arm64 --output=type=image,push=true --progress tty --build-arg TAG=$DRONE_TAG -t $REGISTRY_HOST/$IMAGE:$DRONE_TAG -t $REGISTRY_HOST/$IMAGE:latest .'
|
||||
volumes:
|
||||
- name: docker_socket
|
||||
path: /var/run
|
||||
|
|
@ -46,6 +45,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