18 lines
520 B
YAML
18 lines
520 B
YAML
pipeline:
|
|
publish-docker-latest:
|
|
image: plugins/kaniko
|
|
settings:
|
|
repo: thatonecalculator/calckey
|
|
tags: latest
|
|
dockerfile: Dockerfile
|
|
username:
|
|
# Secret 'docker_username' needs to be set in the CI settings
|
|
from_secret: docker_username
|
|
password:
|
|
# Secret 'docker_password' needs to be set in the CI settings
|
|
from_secret: docker_password
|
|
when:
|
|
# Push new version of tag latest if new push on main-branch
|
|
event: push
|
|
branch: main
|