20 lines
455 B
YAML
20 lines
455 B
YAML
pipeline:
|
|
build_docker_img:
|
|
image: plugins/docker
|
|
when:
|
|
event: [pull_request]
|
|
settings:
|
|
dry_run: true
|
|
repo: realaravinth/nvm-node16-insecure
|
|
tags: latest
|
|
|
|
build_and_publish_docker_img:
|
|
image: plugins/docker
|
|
when:
|
|
event: [push, tag, deployment]
|
|
settings:
|
|
username: realaravinth
|
|
password:
|
|
from_secret: DOCKER_TOKEN
|
|
repo: realaravinth/nvm-node16-insecure
|
|
tags: latest
|