File tree 1 file changed +60
-0
lines changed
1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,26 @@ steps:
105
105
event :
106
106
- tag
107
107
108
+ - name : ghcr-publish
109
+ image : plugins/docker
110
+ settings :
111
+ registry : ghcr.io
112
+ dockerfile : package/Dockerfile
113
+ username : " k3s-io"
114
+ password :
115
+ from_secret : github_token
116
+ repo : " ghcr.io/k3s-io/k3s"
117
+ build_args_from_env :
118
+ - DRONE_TAG
119
+ when :
120
+ instance :
121
+ - drone-publish.k3s.io
122
+ ref :
123
+ - refs/head/master
124
+ - refs/tags/*
125
+ event :
126
+ - tag
127
+
108
128
- name : test
109
129
image : rancher/dapper:v0.6.0
110
130
secrets : [ AWS_SECRET_ACCESS_KEY-k3s-ci-uploader, AWS_ACCESS_KEY_ID-k3s-ci-uploader ]
@@ -258,6 +278,26 @@ steps:
258
278
event :
259
279
- tag
260
280
281
+ - name : ghcr-publish
282
+ image : plugins/docker
283
+ settings :
284
+ registry : ghcr.io
285
+ dockerfile : package/Dockerfile
286
+ username : " k3s-io"
287
+ password :
288
+ from_secret : github_token
289
+ repo : " ghcr.io/k3s-io/k3s"
290
+ build_args_from_env :
291
+ - DRONE_TAG
292
+ when :
293
+ instance :
294
+ - drone-publish.k3s.io
295
+ ref :
296
+ - refs/head/master
297
+ - refs/tags/*
298
+ event :
299
+ - tag
300
+
261
301
- name : test
262
302
image : rancher/dapper:v0.6.0
263
303
secrets : [ AWS_SECRET_ACCESS_KEY-k3s-ci-uploader, AWS_ACCESS_KEY_ID-k3s-ci-uploader ]
@@ -374,6 +414,26 @@ steps:
374
414
event :
375
415
- tag
376
416
417
+ - name : ghcr-publish
418
+ image : plugins/docker:linux-arm
419
+ settings :
420
+ registry : ghcr.io
421
+ dockerfile : package/Dockerfile
422
+ username : " k3s-io"
423
+ password :
424
+ from_secret : github_token
425
+ repo : " ghcr.io/k3s-io/k3s"
426
+ build_args_from_env :
427
+ - DRONE_TAG
428
+ when :
429
+ instance :
430
+ - drone-publish.k3s.io
431
+ ref :
432
+ - refs/head/master
433
+ - refs/tags/*
434
+ event :
435
+ - tag
436
+
377
437
- name : test
378
438
# Refer to comment for arm/build.
379
439
image : rancher/dapper:v0.5.0
You can’t perform that action at this time.
0 commit comments