11
0

ci: woodpecker v3

This commit is contained in:
2025-05-23 10:55:24 +03:00
parent f2c34cf2b0
commit a9fe09d402

View File

@@ -1,13 +1,18 @@
pipeline:
docker:
image: plugins/kaniko
settings:
repo: harbor.k-space.ee/${CI_REPO}
registry: harbor.k-space.ee
tags: latest
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch: main
when:
- event: push
branch: main
steps:
- name: publish
image: woodpeckerci/plugin-kaniko
settings:
registry: harbor.k-space.ee
repo: harbor.k-space.ee/${CI_REPO}
tags: latest,${CI_COMMIT_SHA}
cache: true
build_args:
- COMMIT_SHA=${CI_COMMIT_SHA}
username:
from_secret: docker-username
password:
from_secret: docker-password