From f046d78430b42b011e25d5b2b6550fd20ab81e8c Mon Sep 17 00:00:00 2001 From: Michael Gibson Date: Thu, 3 Dec 2020 16:29:42 -0600 Subject: [PATCH] Restored tag directives. --- .drone.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index af2f161..73a7520 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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