|
|
|
@ -594,80 +594,80 @@ steps:
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
kind: pipeline
|
|
|
|
|
name: docker-linux-amd64-release
|
|
|
|
|
name: docker-linux-dry-run
|
|
|
|
|
|
|
|
|
|
platform:
|
|
|
|
|
os: linux
|
|
|
|
|
arch: amd64
|
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
|
|
workspace:
|
|
|
|
|
base: /go
|
|
|
|
|
path: src/code.gitea.io/gitea
|
|
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
|
- testing
|
|
|
|
|
- compliance
|
|
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
|
ref:
|
|
|
|
|
- refs/heads/master
|
|
|
|
|
- "refs/tags/**"
|
|
|
|
|
- "refs/pull/**"
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- name: fetch-tags
|
|
|
|
|
pull: default
|
|
|
|
|
image: docker:git
|
|
|
|
|
commands:
|
|
|
|
|
- git fetch --tags --force
|
|
|
|
|
|
|
|
|
|
- name: publish
|
|
|
|
|
- name: dryrun
|
|
|
|
|
pull: always
|
|
|
|
|
image: plugins/docker:linux-amd64
|
|
|
|
|
image: plugins/docker:linux-arm64
|
|
|
|
|
settings:
|
|
|
|
|
auto_tag: true
|
|
|
|
|
auto_tag_suffix: linux-amd64
|
|
|
|
|
dry_run: true
|
|
|
|
|
repo: gitea/gitea
|
|
|
|
|
tags: linux-arm64
|
|
|
|
|
build_args:
|
|
|
|
|
- GOPROXY=off
|
|
|
|
|
password:
|
|
|
|
|
from_secret: docker_password
|
|
|
|
|
username:
|
|
|
|
|
from_secret: docker_username
|
|
|
|
|
when:
|
|
|
|
|
event:
|
|
|
|
|
exclude:
|
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
kind: pipeline
|
|
|
|
|
name: docker-linux-arm64-dry-run
|
|
|
|
|
name: docker-linux-amd64-release
|
|
|
|
|
|
|
|
|
|
platform:
|
|
|
|
|
os: linux
|
|
|
|
|
arch: arm64
|
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
|
|
workspace:
|
|
|
|
|
base: /go
|
|
|
|
|
path: src/code.gitea.io/gitea
|
|
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
|
- compliance
|
|
|
|
|
- testing
|
|
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
|
ref:
|
|
|
|
|
- "refs/pull/**"
|
|
|
|
|
- refs/heads/master
|
|
|
|
|
- "refs/tags/**"
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- name: dryrun
|
|
|
|
|
- name: fetch-tags
|
|
|
|
|
pull: default
|
|
|
|
|
image: docker:git
|
|
|
|
|
commands:
|
|
|
|
|
- git fetch --tags --force
|
|
|
|
|
|
|
|
|
|
- name: publish
|
|
|
|
|
pull: always
|
|
|
|
|
image: plugins/docker:linux-arm64
|
|
|
|
|
image: plugins/docker:linux-amd64
|
|
|
|
|
settings:
|
|
|
|
|
dry_run: true
|
|
|
|
|
auto_tag: true
|
|
|
|
|
auto_tag_suffix: linux-amd64
|
|
|
|
|
repo: gitea/gitea
|
|
|
|
|
tags: linux-arm64
|
|
|
|
|
build_args:
|
|
|
|
|
- GOPROXY=off
|
|
|
|
|
password:
|
|
|
|
|
from_secret: docker_password
|
|
|
|
|
username:
|
|
|
|
|
from_secret: docker_username
|
|
|
|
|
when:
|
|
|
|
|
event:
|
|
|
|
|
exclude:
|
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|