25 lines
587 B
YAML
25 lines
587 B
YAML
pipeline:
|
|
publish-docker-image:
|
|
image: plugins/kaniko
|
|
settings:
|
|
registry: tuxpa.in
|
|
repo: tuxpa.in/a/pprof
|
|
tags: latest,v1-${CI_COMMIT_SHA:0:8}
|
|
dockerfile: Dockerfile
|
|
username:
|
|
from_secret: DOCKER_USERNAME
|
|
password:
|
|
from_secret: DOCKER_PASSWORD
|
|
publish-stable:
|
|
image: plugins/kaniko
|
|
event: tag
|
|
settings:
|
|
registry: tuxpa.in
|
|
repo: tuxpa.in/a/pprof
|
|
tags: stable
|
|
dockerfile: Dockerfile
|
|
username:
|
|
from_secret: DOCKER_USERNAME
|
|
password:
|
|
from_secret: DOCKER_PASSWORD
|