This commit is contained in:
@@ -43,8 +43,16 @@ steps:
|
||||
- image=reg.icechen.cn/{{ .NameSpace }}/api-{{ .Name }}
|
||||
- imageTag=${DRONE_TAG}
|
||||
- port={{ .Port }}
|
||||
{{ if .Host }}
|
||||
- host={{ .Host }}
|
||||
{{ else }}
|
||||
- host=api.zeus.seamlesser.com
|
||||
{{ end }}
|
||||
{{ if .Path }}
|
||||
- path={{ .Path }}
|
||||
{{ else }}
|
||||
- path=/{{ .NameSpace }}/{{ .Name }}
|
||||
{{ end }}
|
||||
|
||||
volumes:
|
||||
- name: docker
|
||||
|
||||
@@ -43,8 +43,16 @@ steps:
|
||||
- image=reg.icechen.cn/{{ .NameSpace }}/api-{{ .Name }}
|
||||
- imageTag=${DRONE_COMMIT:0:8}
|
||||
- port={{ .Port }}
|
||||
{{ if .Host }}
|
||||
- host=t{{ .Host }}
|
||||
{{ else }}
|
||||
- host=tapi.zeus.seamlesser.com
|
||||
{{ end }}
|
||||
{{ if .Path }}
|
||||
- path={{ .Path }}
|
||||
{{ else }}
|
||||
- path=/{{ .NameSpace }}/{{ .Name }}
|
||||
{{ end }}
|
||||
|
||||
volumes:
|
||||
- name: docker
|
||||
|
||||
Reference in New Issue
Block a user