26 lines
639 B
YAML
26 lines
639 B
YAML
|
pipeline:
|
||
|
publish-docker-image:
|
||
|
image: plugins/kaniko
|
||
|
settings:
|
||
|
registry: gitea.asdf.cafe
|
||
|
repo: gitea.asdf.cafe/abs3nt/lmgtfy
|
||
|
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
|
||
|
when:
|
||
|
event: tag
|
||
|
settings:
|
||
|
registry: gitea.asdf.cafe
|
||
|
repo: gitea.asdf.cafe/abs3nt/lmgtfy
|
||
|
tags: stable
|
||
|
dockerfile: Dockerfile
|
||
|
username:
|
||
|
from_secret: DOCKER_USERNAME
|
||
|
password:
|
||
|
from_secret: DOCKER_PASSWORD
|