diff --git a/.drone.yml b/.drone.yml index 0d4bcce..2ae3904 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,7 @@ environment: DOCKER_CLI_EXPERIMENTAL: enabled platform: + os: linux arch: amd64 services: @@ -58,6 +59,8 @@ steps: --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: @@ -71,6 +74,6 @@ steps: REGISTRY_PASS: from_secret: registry_password -#trigger: -# event: -# - tag +trigger: + event: + - tag