2022-12-16 01:52:17 +01:00
|
|
|
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
|
2022-12-16 18:13:41 +01:00
|
|
|
branch: main
|
2022-12-27 00:24:19 +01:00
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- prSecurityCheck
|