summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml127
1 files changed, 127 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 1075baa355..10444d689f 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -856,6 +856,67 @@ steps:
---
kind: pipeline
+name: docker-linux-amd64-release-branch
+
+platform:
+ os: linux
+ arch: amd64
+
+depends_on:
+ - testing-amd64
+ - testing-arm64
+
+trigger:
+ ref:
+ - "refs/heads/release/v*"
+ event:
+ exclude:
+ - cron
+
+steps:
+ - name: fetch-tags
+ image: docker:git
+ commands:
+ - git fetch --tags --force
+
+ - name: publish
+ pull: always
+ image: techknowlogick/drone-docker:latest
+ settings:
+ auto_tag: false
+ tags: ${DRONE_BRANCH##release/v}-dev-linux-amd64
+ repo: gitea/gitea
+ build_args:
+ - GOPROXY=https://goproxy.cn
+ password:
+ from_secret: docker_password
+ username:
+ from_secret: docker_username
+ when:
+ event:
+ exclude:
+ - pull_request
+
+ - name: publish-rootless
+ image: techknowlogick/drone-docker:latest
+ settings:
+ dockerfile: Dockerfile.rootless
+ auto_tag: false
+ tags: ${DRONE_BRANCH##release/v}-dev-linux-amd64-rootless
+ repo: gitea/gitea
+ build_args:
+ - GOPROXY=https://goproxy.cn
+ password:
+ from_secret: docker_password
+ username:
+ from_secret: docker_username
+ when:
+ event:
+ exclude:
+ - pull_request
+
+---
+kind: pipeline
type: docker
name: docker-linux-arm64-dry-run
@@ -1010,6 +1071,68 @@ steps:
event:
exclude:
- pull_request
+
+---
+kind: pipeline
+name: docker-linux-arm64-release-branch
+
+platform:
+ os: linux
+ arch: arm64
+
+depends_on:
+ - testing-amd64
+ - testing-arm64
+
+trigger:
+ ref:
+ - "refs/heads/release/v*"
+ event:
+ exclude:
+ - cron
+
+steps:
+ - name: fetch-tags
+ image: docker:git
+ commands:
+ - git fetch --tags --force
+
+ - name: publish
+ pull: always
+ image: techknowlogick/drone-docker:latest
+ settings:
+ auto_tag: false
+ tags: ${DRONE_BRANCH##release/v}-dev-linux-arm64
+ repo: gitea/gitea
+ build_args:
+ - GOPROXY=https://goproxy.cn
+ password:
+ from_secret: docker_password
+ username:
+ from_secret: docker_username
+ when:
+ event:
+ exclude:
+ - pull_request
+
+ - name: publish-rootless
+ image: techknowlogick/drone-docker:latest
+ settings:
+ dockerfile: Dockerfile.rootless
+ auto_tag: false
+ tags: ${DRONE_BRANCH##release/v}-dev-linux-arm64-rootless
+ repo: gitea/gitea
+ build_args:
+ - GOPROXY=https://goproxy.cn
+ password:
+ from_secret: docker_password
+ username:
+ from_secret: docker_username
+ when:
+ event:
+ exclude:
+ - pull_request
+
---
kind: pipeline
type: docker
@@ -1098,6 +1221,8 @@ trigger:
depends_on:
- docker-linux-amd64-release
- docker-linux-arm64-release
+ - docker-linux-amd64-release-branch
+ - docker-linux-arm64-release-branch
---
kind: pipeline
@@ -1131,6 +1256,8 @@ depends_on:
- docker-linux-arm64-release
- docker-linux-amd64-release-version
- docker-linux-arm64-release-version
+ - docker-linux-amd64-release-branch
+ - docker-linux-arm64-release-branch
- docker-manifest
- docker-manifest-version
- docs