mirror of
https://example.com
synced 2024-11-24 17:06:38 +09:00
20 lines
553 B
YAML
20 lines
553 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
|
|
|
|
depends_on:
|
|
- prSecurityCheck
|