diff --git a/.drone.yml b/.drone.yml index 4e084a71545c..b23682529f1a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -768,6 +768,7 @@ depends_on: trigger: ref: - refs/heads/main + - "refs/heads/release/v*" event: exclude: - cron @@ -783,7 +784,7 @@ steps: image: techknowlogick/drone-docker:latest settings: auto_tag: false - tags: dev-linux-amd64 + tags: ${DRONE_COMMIT_REF##refs/heads/release/v}${${DRONE_COMMIT_REF##refs/heads/release/v}:+-}dev-linux-amd64 repo: gitea/gitea build_args: - GOPROXY=off @@ -801,7 +802,7 @@ steps: settings: dockerfile: Dockerfile.rootless auto_tag: false - tags: dev-linux-amd64-rootless + tags: ${DRONE_COMMIT_REF##refs/heads/release/v}${${DRONE_COMMIT_REF##refs/heads/release/v}:+-}dev-linux-amd64-rootless repo: gitea/gitea build_args: - GOPROXY=off @@ -931,6 +932,7 @@ depends_on: trigger: ref: - refs/heads/main + - "refs/heads/release/v*" event: exclude: - cron @@ -946,7 +948,7 @@ steps: image: techknowlogick/drone-docker:latest settings: auto_tag: false - tags: dev-linux-arm64 + tags: ${DRONE_COMMIT_REF##refs/heads/release/v}${${DRONE_COMMIT_REF##refs/heads/release/v}:+-}dev-linux-arm64 repo: gitea/gitea build_args: - GOPROXY=off @@ -967,7 +969,7 @@ steps: settings: dockerfile: Dockerfile.rootless auto_tag: false - tags: dev-linux-arm64-rootless + tags: ${DRONE_COMMIT_REF##refs/heads/release/v}${${DRONE_COMMIT_REF##refs/heads/release/v}:+-}dev-linux-arm64-rootless repo: gitea/gitea build_args: - GOPROXY=off