aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Thornton2022-02-03 18:53:49 +0000
committerAndrew Thornton2022-02-03 18:53:55 +0000
commitf5e19dcfd753fbe8b92e2277b9fe71bf1e788397 (patch)
treed11a4f3ed765444954cd3b6491250de4b73e7843
parent3182d4edaa7420d0699491ecf557a3dc72325e72 (diff)
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 <art27@cantab.net>
-rw-r--r--.drone.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.drone.yml b/.drone.yml
index 4e084a715..b23682529 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