|
|
|
@ -244,133 +244,6 @@ steps: |
|
|
|
|
exclude: |
|
|
|
|
- pull_request |
|
|
|
|
|
|
|
|
|
--- |
|
|
|
|
kind: pipeline |
|
|
|
|
type: docker |
|
|
|
|
name: docker-linux-amd64-release |
|
|
|
|
|
|
|
|
|
platform: |
|
|
|
|
os: linux |
|
|
|
|
arch: amd64 |
|
|
|
|
|
|
|
|
|
trigger: |
|
|
|
|
ref: |
|
|
|
|
- refs/heads/main |
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
- name: fetch-tags |
|
|
|
|
image: docker:git |
|
|
|
|
pull: always |
|
|
|
|
commands: |
|
|
|
|
- git fetch --tags --force |
|
|
|
|
|
|
|
|
|
- name: publish |
|
|
|
|
image: plugins/docker:latest |
|
|
|
|
pull: always |
|
|
|
|
settings: |
|
|
|
|
auto_tag: false |
|
|
|
|
tags: nightly-linux-amd64 |
|
|
|
|
repo: gitea/gitea |
|
|
|
|
build_args: |
|
|
|
|
- GOPROXY=https://goproxy.io |
|
|
|
|
password: |
|
|
|
|
from_secret: docker_password |
|
|
|
|
username: |
|
|
|
|
from_secret: docker_username |
|
|
|
|
environment: |
|
|
|
|
PLUGIN_MIRROR: |
|
|
|
|
from_secret: plugin_mirror |
|
|
|
|
DOCKER_BUILDKIT: 1 |
|
|
|
|
when: |
|
|
|
|
event: |
|
|
|
|
exclude: |
|
|
|
|
- pull_request |
|
|
|
|
|
|
|
|
|
- name: publish-rootless |
|
|
|
|
image: plugins/docker:latest |
|
|
|
|
settings: |
|
|
|
|
dockerfile: Dockerfile.rootless |
|
|
|
|
auto_tag: false |
|
|
|
|
tags: nightly-linux-amd64-rootless |
|
|
|
|
repo: gitea/gitea |
|
|
|
|
build_args: |
|
|
|
|
- GOPROXY=https://goproxy.io |
|
|
|
|
password: |
|
|
|
|
from_secret: docker_password |
|
|
|
|
username: |
|
|
|
|
from_secret: docker_username |
|
|
|
|
environment: |
|
|
|
|
PLUGIN_MIRROR: |
|
|
|
|
from_secret: plugin_mirror |
|
|
|
|
DOCKER_BUILDKIT: 1 |
|
|
|
|
when: |
|
|
|
|
event: |
|
|
|
|
exclude: |
|
|
|
|
- pull_request |
|
|
|
|
|
|
|
|
|
--- |
|
|
|
|
kind: pipeline |
|
|
|
|
name: docker-linux-amd64-release-branch |
|
|
|
|
|
|
|
|
|
platform: |
|
|
|
|
os: linux |
|
|
|
|
arch: amd64 |
|
|
|
|
|
|
|
|
|
trigger: |
|
|
|
|
ref: |
|
|
|
|
- "refs/heads/release/v*" |
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
- name: fetch-tags |
|
|
|
|
image: docker:git |
|
|
|
|
pull: always |
|
|
|
|
commands: |
|
|
|
|
- git fetch --tags --force |
|
|
|
|
|
|
|
|
|
- name: publish |
|
|
|
|
image: plugins/docker:latest |
|
|
|
|
pull: always |
|
|
|
|
settings: |
|
|
|
|
auto_tag: false |
|
|
|
|
tags: ${DRONE_BRANCH##release/v}-nightly-linux-amd64 |
|
|
|
|
repo: gitea/gitea |
|
|
|
|
build_args: |
|
|
|
|
- GOPROXY=https://goproxy.io |
|
|
|
|
password: |
|
|
|
|
from_secret: docker_password |
|
|
|
|
username: |
|
|
|
|
from_secret: docker_username |
|
|
|
|
environment: |
|
|
|
|
PLUGIN_MIRROR: |
|
|
|
|
from_secret: plugin_mirror |
|
|
|
|
DOCKER_BUILDKIT: 1 |
|
|
|
|
when: |
|
|
|
|
event: |
|
|
|
|
exclude: |
|
|
|
|
- pull_request |
|
|
|
|
|
|
|
|
|
- name: publish-rootless |
|
|
|
|
image: plugins/docker:latest |
|
|
|
|
settings: |
|
|
|
|
dockerfile: Dockerfile.rootless |
|
|
|
|
auto_tag: false |
|
|
|
|
tags: ${DRONE_BRANCH##release/v}-nightly-linux-amd64-rootless |
|
|
|
|
repo: gitea/gitea |
|
|
|
|
build_args: |
|
|
|
|
- GOPROXY=https://goproxy.io |
|
|
|
|
password: |
|
|
|
|
from_secret: docker_password |
|
|
|
|
username: |
|
|
|
|
from_secret: docker_username |
|
|
|
|
environment: |
|
|
|
|
PLUGIN_MIRROR: |
|
|
|
|
from_secret: plugin_mirror |
|
|
|
|
DOCKER_BUILDKIT: 1 |
|
|
|
|
when: |
|
|
|
|
event: |
|
|
|
|
exclude: |
|
|
|
|
- pull_request |
|
|
|
|
|
|
|
|
|
--- |
|
|
|
|
kind: pipeline |
|
|
|
|
type: docker |
|
|
|
@ -506,136 +379,6 @@ steps: |
|
|
|
|
exclude: |
|
|
|
|
- pull_request |
|
|
|
|
|
|
|
|
|
--- |
|
|
|
|
kind: pipeline |
|
|
|
|
type: docker |
|
|
|
|
name: docker-linux-arm64-release |
|
|
|
|
|
|
|
|
|
platform: |
|
|
|
|
os: linux |
|
|
|
|
arch: arm64 |
|
|
|
|
|
|
|
|
|
trigger: |
|
|
|
|
ref: |
|
|
|
|
- refs/heads/main |
|
|
|
|
paths: |
|
|
|
|
exclude: |
|
|
|
|
- "docs/**" |
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
- name: fetch-tags |
|
|
|
|
image: docker:git |
|
|
|
|
pull: always |
|
|
|
|
commands: |
|
|
|
|
- git fetch --tags --force |
|
|
|
|
|
|
|
|
|
- name: publish |
|
|
|
|
image: plugins/docker:latest |
|
|
|
|
pull: always |
|
|
|
|
settings: |
|
|
|
|
auto_tag: false |
|
|
|
|
tags: nightly-linux-arm64 |
|
|
|
|
repo: gitea/gitea |
|
|
|
|
build_args: |
|
|
|
|
- GOPROXY=https://goproxy.io |
|
|
|
|
password: |
|
|
|
|
from_secret: docker_password |
|
|
|
|
username: |
|
|
|
|
from_secret: docker_username |
|
|
|
|
environment: |
|
|
|
|
PLUGIN_MIRROR: |
|
|
|
|
from_secret: plugin_mirror |
|
|
|
|
DOCKER_BUILDKIT: 1 |
|
|
|
|
when: |
|
|
|
|
event: |
|
|
|
|
exclude: |
|
|
|
|
- pull_request |
|
|
|
|
|
|
|
|
|
- name: publish-rootless |
|
|
|
|
image: plugins/docker:latest |
|
|
|
|
settings: |
|
|
|
|
dockerfile: Dockerfile.rootless |
|
|
|
|
auto_tag: false |
|
|
|
|
tags: nightly-linux-arm64-rootless |
|
|
|
|
repo: gitea/gitea |
|
|
|
|
build_args: |
|
|
|
|
- GOPROXY=https://goproxy.io |
|
|
|
|
password: |
|
|
|
|
from_secret: docker_password |
|
|
|
|
username: |
|
|
|
|
from_secret: docker_username |
|
|
|
|
environment: |
|
|
|
|
PLUGIN_MIRROR: |
|
|
|
|
from_secret: plugin_mirror |
|
|
|
|
DOCKER_BUILDKIT: 1 |
|
|
|
|
when: |
|
|
|
|
event: |
|
|
|
|
exclude: |
|
|
|
|
- pull_request |
|
|
|
|
|
|
|
|
|
--- |
|
|
|
|
kind: pipeline |
|
|
|
|
name: docker-linux-arm64-release-branch |
|
|
|
|
|
|
|
|
|
platform: |
|
|
|
|
os: linux |
|
|
|
|
arch: arm64 |
|
|
|
|
|
|
|
|
|
trigger: |
|
|
|
|
ref: |
|
|
|
|
- "refs/heads/release/v*" |
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
- name: fetch-tags |
|
|
|
|
image: docker:git |
|
|
|
|
pull: always |
|
|
|
|
commands: |
|
|
|
|
- git fetch --tags --force |
|
|
|
|
|
|
|
|
|
- name: publish |
|
|
|
|
image: plugins/docker:latest |
|
|
|
|
pull: always |
|
|
|
|
settings: |
|
|
|
|
auto_tag: false |
|
|
|
|
tags: ${DRONE_BRANCH##release/v}-nightly-linux-arm64 |
|
|
|
|
repo: gitea/gitea |
|
|
|
|
build_args: |
|
|
|
|
- GOPROXY=https://goproxy.io |
|
|
|
|
password: |
|
|
|
|
from_secret: docker_password |
|
|
|
|
username: |
|
|
|
|
from_secret: docker_username |
|
|
|
|
environment: |
|
|
|
|
PLUGIN_MIRROR: |
|
|
|
|
from_secret: plugin_mirror |
|
|
|
|
DOCKER_BUILDKIT: 1 |
|
|
|
|
when: |
|
|
|
|
event: |
|
|
|
|
exclude: |
|
|
|
|
- pull_request |
|
|
|
|
|
|
|
|
|
- name: publish-rootless |
|
|
|
|
image: plugins/docker:latest |
|
|
|
|
settings: |
|
|
|
|
dockerfile: Dockerfile.rootless |
|
|
|
|
auto_tag: false |
|
|
|
|
tags: ${DRONE_BRANCH##release/v}-nightly-linux-arm64-rootless |
|
|
|
|
repo: gitea/gitea |
|
|
|
|
build_args: |
|
|
|
|
- GOPROXY=https://goproxy.io |
|
|
|
|
password: |
|
|
|
|
from_secret: docker_password |
|
|
|
|
username: |
|
|
|
|
from_secret: docker_username |
|
|
|
|
environment: |
|
|
|
|
PLUGIN_MIRROR: |
|
|
|
|
from_secret: plugin_mirror |
|
|
|
|
DOCKER_BUILDKIT: 1 |
|
|
|
|
when: |
|
|
|
|
event: |
|
|
|
|
exclude: |
|
|
|
|
- pull_request |
|
|
|
|
|
|
|
|
|
--- |
|
|
|
|
kind: pipeline |
|
|
|
|
type: docker |
|
|
|
@ -681,50 +424,3 @@ depends_on: |
|
|
|
|
- docker-linux-amd64-release-candidate-version |
|
|
|
|
- docker-linux-arm64-release-version |
|
|
|
|
- docker-linux-arm64-release-candidate-version |
|
|
|
|
|
|
|
|
|
--- |
|
|
|
|
kind: pipeline |
|
|
|
|
type: docker |
|
|
|
|
name: docker-manifest |
|
|
|
|
|
|
|
|
|
platform: |
|
|
|
|
os: linux |
|
|
|
|
arch: amd64 |
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
- name: manifest-rootless |
|
|
|
|
image: plugins/manifest |
|
|
|
|
pull: always |
|
|
|
|
settings: |
|
|
|
|
auto_tag: false |
|
|
|
|
ignore_missing: true |
|
|
|
|
spec: docker/manifest.rootless.tmpl |
|
|
|
|
password: |
|
|
|
|
from_secret: docker_password |
|
|
|
|
username: |
|
|
|
|
from_secret: docker_username |
|
|
|
|
|
|
|
|
|
- name: manifest |
|
|
|
|
image: plugins/manifest |
|
|
|
|
settings: |
|
|
|
|
auto_tag: false |
|
|
|
|
ignore_missing: true |
|
|
|
|
spec: docker/manifest.tmpl |
|
|
|
|
password: |
|
|
|
|
from_secret: docker_password |
|
|
|
|
username: |
|
|
|
|
from_secret: docker_username |
|
|
|
|
|
|
|
|
|
trigger: |
|
|
|
|
ref: |
|
|
|
|
- refs/heads/main |
|
|
|
|
- "refs/heads/release/v*" |
|
|
|
|
paths: |
|
|
|
|
exclude: |
|
|
|
|
- "docs/**" |
|
|
|
|
|
|
|
|
|
depends_on: |
|
|
|
|
- docker-linux-amd64-release |
|
|
|
|
- docker-linux-arm64-release |
|
|
|
|
- docker-linux-amd64-release-branch |
|
|
|
|
- docker-linux-arm64-release-branch |
|
|
|
|