2022-12-16 00:52:17 +00:00
|
|
|
pipeline:
|
|
|
|
publish-docker-latest:
|
2023-04-20 20:14:20 +00:00
|
|
|
image: docker.io/plugins/kaniko
|
2022-12-16 00:52:17 +00:00
|
|
|
settings:
|
2023-04-20 20:31:10 +00:00
|
|
|
repo: git.astolfo.cool/natty/calckey
|
2023-04-20 20:14:20 +00:00
|
|
|
tags: ${CI_COMMIT_TAG}
|
2022-12-16 00:52:17 +00:00
|
|
|
dockerfile: Dockerfile
|
2023-04-20 20:49:49 +00:00
|
|
|
registry: git.astolfo.cool
|
2023-04-20 20:24:45 +00:00
|
|
|
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
|
2023-01-07 23:32:13 +00:00
|
|
|
|
2023-04-20 20:16:56 +00:00
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
tag: v*
|