Skip to content

Commit 3d34cda

Browse files
authored
Disable auto tag to prepare next 1.17 release (go-gitea#22180)
Disable auto tag so that 1.17 release will not tag `:1`.
1 parent f51a19c commit 3d34cda

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.drone.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -902,8 +902,11 @@ steps:
902902
image: techknowlogick/drone-docker:latest
903903
pull: always
904904
settings:
905-
auto_tag: true
905+
auto_tag: false
906906
auto_tag_suffix: linux-amd64
907+
tags:
908+
- ${DRONE_TAG##v}-linux-amd64
909+
- ${DRONE_TAG:1:4}-linux-amd64
907910
repo: gitea/gitea
908911
build_args:
909912
- GOPROXY=https://goproxy.io
@@ -920,8 +923,11 @@ steps:
920923
image: techknowlogick/drone-docker:latest
921924
settings:
922925
dockerfile: Dockerfile.rootless
923-
auto_tag: true
926+
auto_tag: false
924927
auto_tag_suffix: linux-amd64-rootless
928+
tags:
929+
- ${DRONE_TAG##v}-linux-amd64-rootless
930+
- ${DRONE_TAG:1:4}-linux-amd64-rootless
925931
repo: gitea/gitea
926932
build_args:
927933
- GOPROXY=https://goproxy.io
@@ -1126,8 +1132,11 @@ steps:
11261132
image: techknowlogick/drone-docker:latest
11271133
pull: always
11281134
settings:
1129-
auto_tag: true
1135+
auto_tag: false
11301136
auto_tag_suffix: linux-arm64
1137+
tags:
1138+
- ${DRONE_TAG##v}-linux-arm64
1139+
- ${DRONE_TAG:1:4}-linux-arm64
11311140
repo: gitea/gitea
11321141
build_args:
11331142
- GOPROXY=https://goproxy.io
@@ -1144,8 +1153,11 @@ steps:
11441153
image: techknowlogick/drone-docker:latest
11451154
settings:
11461155
dockerfile: Dockerfile.rootless
1147-
auto_tag: true
1156+
auto_tag: false
11481157
auto_tag_suffix: linux-arm64-rootless
1158+
tags:
1159+
- ${DRONE_TAG##v}-linux-arm64-rootless
1160+
- ${DRONE_TAG:1:4}-linux-arm64-rootless
11491161
repo: gitea/gitea
11501162
build_args:
11511163
- GOPROXY=https://goproxy.io
@@ -1299,7 +1311,7 @@ steps:
12991311
image: plugins/manifest
13001312
pull: always
13011313
settings:
1302-
auto_tag: true
1314+
auto_tag: false
13031315
ignore_missing: true
13041316
spec: docker/manifest.rootless.tmpl
13051317
password:
@@ -1310,7 +1322,7 @@ steps:
13101322
- name: manifest
13111323
image: plugins/manifest
13121324
settings:
1313-
auto_tag: true
1325+
auto_tag: false
13141326
ignore_missing: true
13151327
spec: docker/manifest.tmpl
13161328
password:

0 commit comments

Comments
 (0)