Skip to content

Commit 0715f65

Browse files
committed
ci: remove docker-linux-amd64-dry-run
1 parent a3b14cd commit 0715f65

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.drone.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -594,80 +594,80 @@ steps:
594594

595595
---
596596
kind: pipeline
597-
name: docker-linux-amd64-release
597+
name: docker-linux-dry-run
598598

599599
platform:
600600
os: linux
601-
arch: amd64
601+
arch: arm64
602602

603603
workspace:
604604
base: /go
605605
path: src/code.gitea.io/gitea
606606

607607
depends_on:
608-
- testing
608+
- compliance
609609

610610
trigger:
611611
ref:
612-
- refs/heads/master
613-
- "refs/tags/**"
612+
- "refs/pull/**"
614613

615614
steps:
616-
- name: fetch-tags
617-
pull: default
618-
image: docker:git
619-
commands:
620-
- git fetch --tags --force
621-
622-
- name: publish
615+
- name: dryrun
623616
pull: always
624-
image: plugins/docker:linux-amd64
617+
image: plugins/docker:linux-arm64
625618
settings:
626-
auto_tag: true
627-
auto_tag_suffix: linux-amd64
619+
dry_run: true
628620
repo: gitea/gitea
621+
tags: linux-arm64
629622
build_args:
630623
- GOPROXY=off
631-
password:
632-
from_secret: docker_password
633-
username:
634-
from_secret: docker_username
635624
when:
636625
event:
637-
exclude:
638626
- pull_request
639627

640628
---
641629
kind: pipeline
642-
name: docker-linux-arm64-dry-run
630+
name: docker-linux-amd64-release
643631

644632
platform:
645633
os: linux
646-
arch: arm64
634+
arch: amd64
647635

648636
workspace:
649637
base: /go
650638
path: src/code.gitea.io/gitea
651639

652640
depends_on:
653-
- compliance
641+
- testing
654642

655643
trigger:
656644
ref:
657-
- "refs/pull/**"
645+
- refs/heads/master
646+
- "refs/tags/**"
658647

659648
steps:
660-
- name: dryrun
649+
- name: fetch-tags
650+
pull: default
651+
image: docker:git
652+
commands:
653+
- git fetch --tags --force
654+
655+
- name: publish
661656
pull: always
662-
image: plugins/docker:linux-arm64
657+
image: plugins/docker:linux-amd64
663658
settings:
664-
dry_run: true
659+
auto_tag: true
660+
auto_tag_suffix: linux-amd64
665661
repo: gitea/gitea
666-
tags: linux-arm64
667662
build_args:
668663
- GOPROXY=off
664+
password:
665+
from_secret: docker_password
666+
username:
667+
from_secret: docker_username
669668
when:
670669
event:
670+
exclude:
671671
- pull_request
672672

673673
---

0 commit comments

Comments
 (0)