From f5e19dcfd753fbe8b92e2277b9fe71bf1e788397 Mon Sep 17 00:00:00 2001 From: Andrew Thornton Date: Thu, 3 Feb 2022 18:53:49 +0000 Subject: [PATCH] Fix pushing to 1-x-dev docker tag (part 2) Although we now have the manifest working, we need to create the images. Here we adjust the .drone.yml to force building of the images Signed-off-by: Andrew Thornton --- .drone.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4e084a71545..b23682529f1 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