This commit is contained in:
@ -34,10 +34,17 @@ steps: # 定义管道的执行步骤
|
||||
tags:
|
||||
- latest
|
||||
|
||||
- name: install
|
||||
image: node:18
|
||||
pull: if-not-exists
|
||||
depends_on: [build-tags]
|
||||
commands:
|
||||
- npm install
|
||||
|
||||
- name: build-image
|
||||
image: plugins/docker
|
||||
pull: if-not-exists
|
||||
depends_on: [build-tags]
|
||||
depends_on: [install]
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
|
Reference in New Issue
Block a user