This commit is contained in:
@ -31,7 +31,7 @@ steps: # 定义管道的执行步骤
|
|||||||
mount:
|
mount:
|
||||||
- ./nugetpackages
|
- ./nugetpackages
|
||||||
|
|
||||||
- name: test
|
- name: loading npm cache
|
||||||
image: node
|
image: node
|
||||||
volumes:
|
volumes:
|
||||||
- name: npm-cache
|
- name: npm-cache
|
||||||
@ -46,7 +46,7 @@ steps: # 定义管道的执行步骤
|
|||||||
- name: build-image
|
- name: build-image
|
||||||
pull: if-not-exists # 如果镜像不存在则拉取,免去每次都要重新下载
|
pull: if-not-exists # 如果镜像不存在则拉取,免去每次都要重新下载
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
depends_on: [build-tags]
|
depends_on: [loading npm cache]
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
Reference in New Issue
Block a user