fix
This commit is contained in:
@@ -25,6 +25,9 @@ spec:
|
||||
- name: file-docker
|
||||
description: list of Dockerfiles if any
|
||||
type: array
|
||||
- name: images-name
|
||||
description: list of Dockerfiles image-name
|
||||
type: array
|
||||
params:
|
||||
- name: toolbox-image
|
||||
default: sebt3/basic-toolbox-image:1.30.0
|
||||
@@ -40,6 +43,8 @@ spec:
|
||||
- name: project-path
|
||||
description: The path of the current project
|
||||
type: string
|
||||
- name: image-version
|
||||
type: string
|
||||
steps:
|
||||
- name: detect-stages
|
||||
image: $(params.toolbox-image)
|
||||
@@ -137,6 +142,7 @@ spec:
|
||||
ret = []
|
||||
for f in dockerfiles:
|
||||
dir = os.path.dirname(f)
|
||||
ret.append("$(params.artifactory-url)/$(params.project-path):$(params.image-version)")
|
||||
print('get_image_name', dir, root_dir)
|
||||
return ret
|
||||
def get_stages(files,root_dir):
|
||||
|
||||
Reference in New Issue
Block a user