@@ -217,6 +217,17 @@ steps:
217
217
GITHUB_READ_TOKEN :
218
218
from_secret : github_read_token
219
219
220
+ - name : unit-test-race
221
+ image : golang:1.16
222
+ commands :
223
+ - make test-backend
224
+ environment :
225
+ GOPROXY : off
226
+ TAGS : sqlite sqlite_unlock_notify
227
+ RACE_ENABLED : true
228
+ GITHUB_READ_TOKEN :
229
+ from_secret : github_read_token
230
+
220
231
- name : unit-test-gogit
221
232
pull : always
222
233
image : golang:1.16
@@ -404,7 +415,7 @@ steps:
404
415
405
416
- name : update
406
417
pull : default
407
- image : alpine:3.14
418
+ image : alpine:3.13
408
419
commands :
409
420
- ./build/update-locales.sh
410
421
@@ -691,7 +702,7 @@ steps:
691
702
692
703
---
693
704
kind : pipeline
694
- name : docker-linux-amd64-release
705
+ name : docker-linux-amd64-release-version
695
706
696
707
platform :
697
708
os : linux
@@ -703,7 +714,6 @@ depends_on:
703
714
704
715
trigger :
705
716
ref :
706
- - refs/heads/main
707
717
- " refs/tags/**"
708
718
event :
709
719
exclude :
@@ -717,7 +727,7 @@ steps:
717
727
718
728
- name : publish
719
729
pull : always
720
- image : plugins/ docker:linux-amd64
730
+ image : techknowlogick/drone- docker:latest
721
731
settings :
722
732
auto_tag : true
723
733
auto_tag_suffix : linux-amd64
@@ -734,7 +744,7 @@ steps:
734
744
- pull_request
735
745
736
746
- name : publish-rootless
737
- image : plugins/ docker:linux-amd64
747
+ image : techknowlogick/drone- docker:latest
738
748
settings :
739
749
dockerfile : Dockerfile.rootless
740
750
auto_tag : true
@@ -754,6 +764,70 @@ steps:
754
764
exclude :
755
765
- pull_request
756
766
767
+ ---
768
+ kind : pipeline
769
+ name : docker-linux-amd64-release
770
+
771
+ platform :
772
+ os : linux
773
+ arch : amd64
774
+
775
+ depends_on :
776
+ - testing-amd64
777
+ - testing-arm64
778
+
779
+ trigger :
780
+ ref :
781
+ - refs/heads/main
782
+ event :
783
+ exclude :
784
+ - cron
785
+
786
+ steps :
787
+ - name : fetch-tags
788
+ image : docker:git
789
+ commands :
790
+ - git fetch --tags --force
791
+
792
+ - name : publish
793
+ pull : always
794
+ image : techknowlogick/drone-docker:latest
795
+ settings :
796
+ auto_tag : false
797
+ tags : dev-linux-amd64
798
+ repo : gitea/gitea
799
+ build_args :
800
+ - GOPROXY=off
801
+ password :
802
+ from_secret : docker_password
803
+ username :
804
+ from_secret : docker_username
805
+ when :
806
+ event :
807
+ exclude :
808
+ - pull_request
809
+
810
+ - name : publish-rootless
811
+ image : techknowlogick/drone-docker:latest
812
+ settings :
813
+ dockerfile : Dockerfile.rootless
814
+ auto_tag : false
815
+ tags : dev-linux-amd64-rootless
816
+ repo : gitea/gitea
817
+ build_args :
818
+ - GOPROXY=off
819
+ password :
820
+ from_secret : docker_password
821
+ username :
822
+ from_secret : docker_username
823
+ environment :
824
+ PLUGIN_MIRROR :
825
+ from_secret : plugin_mirror
826
+ when :
827
+ event :
828
+ exclude :
829
+ - pull_request
830
+
757
831
---
758
832
kind : pipeline
759
833
name : docker-linux-arm64-dry-run
@@ -772,7 +846,7 @@ trigger:
772
846
steps :
773
847
- name : dryrun
774
848
pull : always
775
- image : plugins/ docker:linux-arm64
849
+ image : techknowlogick/drone- docker:latest
776
850
settings :
777
851
dry_run : true
778
852
repo : gitea/gitea
@@ -788,7 +862,7 @@ steps:
788
862
789
863
---
790
864
kind : pipeline
791
- name : docker-linux-arm64-release
865
+ name : docker-linux-arm64-release-version
792
866
793
867
platform :
794
868
os : linux
@@ -800,7 +874,6 @@ depends_on:
800
874
801
875
trigger :
802
876
ref :
803
- - refs/heads/main
804
877
- " refs/tags/**"
805
878
event :
806
879
exclude :
@@ -814,7 +887,7 @@ steps:
814
887
815
888
- name : publish
816
889
pull : always
817
- image : plugins/ docker:linux-arm64
890
+ image : techknowlogick/drone- docker:latest
818
891
settings :
819
892
auto_tag : true
820
893
auto_tag_suffix : linux-arm64
@@ -834,7 +907,7 @@ steps:
834
907
- pull_request
835
908
836
909
- name : publish-rootless
837
- image : plugins/ docker:linux-arm64
910
+ image : techknowlogick/drone- docker:latest
838
911
settings :
839
912
dockerfile : Dockerfile.rootless
840
913
auto_tag : true
@@ -856,7 +929,73 @@ steps:
856
929
857
930
---
858
931
kind : pipeline
859
- name : docker-manifest
932
+ name : docker-linux-arm64-release
933
+
934
+ platform :
935
+ os : linux
936
+ arch : arm64
937
+
938
+ depends_on :
939
+ - testing-amd64
940
+ - testing-arm64
941
+
942
+ trigger :
943
+ ref :
944
+ - refs/heads/main
945
+ event :
946
+ exclude :
947
+ - cron
948
+
949
+ steps :
950
+ - name : fetch-tags
951
+ image : docker:git
952
+ commands :
953
+ - git fetch --tags --force
954
+
955
+ - name : publish
956
+ pull : always
957
+ image : techknowlogick/drone-docker:latest
958
+ settings :
959
+ auto_tag : false
960
+ tags : dev-linux-arm64
961
+ repo : gitea/gitea
962
+ build_args :
963
+ - GOPROXY=off
964
+ password :
965
+ from_secret : docker_password
966
+ username :
967
+ from_secret : docker_username
968
+ environment :
969
+ PLUGIN_MIRROR :
970
+ from_secret : plugin_mirror
971
+ when :
972
+ event :
973
+ exclude :
974
+ - pull_request
975
+
976
+ - name : publish-rootless
977
+ image : techknowlogick/drone-docker:latest
978
+ settings :
979
+ dockerfile : Dockerfile.rootless
980
+ auto_tag : false
981
+ tags : dev-linux-arm64-rootless
982
+ repo : gitea/gitea
983
+ build_args :
984
+ - GOPROXY=off
985
+ password :
986
+ from_secret : docker_password
987
+ username :
988
+ from_secret : docker_username
989
+ environment :
990
+ PLUGIN_MIRROR :
991
+ from_secret : plugin_mirror
992
+ when :
993
+ event :
994
+ exclude :
995
+ - pull_request
996
+ ---
997
+ kind : pipeline
998
+ name : docker-manifest-version
860
999
861
1000
platform :
862
1001
os : linux
@@ -888,12 +1027,54 @@ steps:
888
1027
889
1028
trigger :
890
1029
ref :
891
- - refs/heads/main
892
1030
- " refs/tags/**"
893
1031
event :
894
1032
exclude :
895
1033
- cron
896
1034
1035
+ depends_on :
1036
+ - docker-linux-amd64-release-version
1037
+ - docker-linux-arm64-release-version
1038
+
1039
+ ---
1040
+ kind : pipeline
1041
+ name : docker-manifest
1042
+
1043
+ platform :
1044
+ os : linux
1045
+ arch : amd64
1046
+
1047
+ steps :
1048
+ - name : manifest-rootless
1049
+ pull : always
1050
+ image : plugins/manifest
1051
+ settings :
1052
+ auto_tag : false
1053
+ ignore_missing : true
1054
+ spec : docker/manifest.rootless.tmpl
1055
+ password :
1056
+ from_secret : docker_password
1057
+ username :
1058
+ from_secret : docker_username
1059
+
1060
+ - name : manifest
1061
+ image : plugins/manifest
1062
+ settings :
1063
+ auto_tag : false
1064
+ ignore_missing : true
1065
+ spec : docker/manifest.tmpl
1066
+ password :
1067
+ from_secret : docker_password
1068
+ username :
1069
+ from_secret : docker_username
1070
+
1071
+ trigger :
1072
+ ref :
1073
+ - refs/heads/main
1074
+ event :
1075
+ exclude :
1076
+ - cron
1077
+
897
1078
depends_on :
898
1079
- docker-linux-amd64-release
899
1080
- docker-linux-arm64-release
@@ -927,7 +1108,10 @@ depends_on:
927
1108
- release-latest
928
1109
- docker-linux-amd64-release
929
1110
- docker-linux-arm64-release
1111
+ - docker-linux-amd64-release-version
1112
+ - docker-linux-arm64-release-version
930
1113
- docker-manifest
1114
+ - docker-manifest-version
931
1115
- docs
932
1116
933
1117
steps :
0 commit comments