File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,6 +90,10 @@ steps:
9090 environment :
9191 DRYCC_REGISTRY :
9292 from_secret : drycc_registry
93+ when :
94+ event :
95+ - push
96+ - tag
9397
9498- name : publish
9599 image : plugins/manifest
@@ -102,7 +106,6 @@ steps:
102106 environment :
103107 DEV_REGISTRY :
104108 from_secret : dev_registry
105-
106109 when :
107110 event :
108111 - push
Original file line number Diff line number Diff line change 1- image: docker.io /drycc /go-dev:{{#if build.tag }}{{trimPrefix " v" build.tag }}{{else }}latest{{/if }}
1+ image: docker.io /jianxiaoguo /go-dev:{{#if build.tag }}{{trimPrefix " v" build.tag }}{{else }}latest{{/if }}
22{{#if build.tags }}
33tags:
44{{#each build.tags }}
77{{/if }}
88manifests:
99 -
10- image: docker.io /drycc /go-dev:{{#if build.tag }}{{build.tag }}-{{else }}latest-{{/if }}linux-amd64
10+ image: docker.io /jianxiaoguo /go-dev:{{#if build.tag }}{{build.tag }}-{{else }}latest-{{/if }}linux-amd64
1111 platform:
1212 architecture: amd64
1313 os: linux
1414 -
15- image: docker.io /drycc /go-dev:{{#if build.tag }}{{build.tag }}-{{else }}latest-{{/if }}linux-arm64
15+ image: docker.io /jianxiaoguo /go-dev:{{#if build.tag }}{{build.tag }}-{{else }}latest-{{/if }}linux-arm64
1616 platform:
1717 architecture: arm64
1818 os: linux
Original file line number Diff line number Diff line change 11VERSION ?= $(shell git describe --tags --exact-match 2>/dev/null || echo latest)
22DEV_REGISTRY ?= docker.io
3- IMAGE_PREFIX ?= drycc
3+ IMAGE_PREFIX ?= jianxiaoguo
44IMAGE := ${DEV_REGISTRY}/${IMAGE_PREFIX}/go-dev:${VERSION}
55PLATFORM ?= linux/amd64,linux/arm64
66
You can’t perform that action at this time.
0 commit comments