This commit is contained in:
parent
d99ee9ef1e
commit
2e8f0d9d4c
22
.woodpecker/build-image.yml
Normal file
22
.woodpecker/build-image.yml
Normal file
@ -0,0 +1,22 @@
|
||||
when:
|
||||
- event: [push]
|
||||
steps:
|
||||
- name: echos
|
||||
image: alpine
|
||||
commands:
|
||||
- echo $CI_REPO
|
||||
- echo $CI_REPO_REMOTE_ID
|
||||
- echo $CI_REPO_URL
|
||||
- echo $CI_REPO_CLONE_URL
|
||||
- name: build
|
||||
image: woodpeckerci/plugin-kaniko
|
||||
settings:
|
||||
registry: gitea.cazzzer.com
|
||||
username:
|
||||
from_secret: registry-username
|
||||
password:
|
||||
from_secret: registry-password
|
||||
repo: ${CI_REPO}
|
||||
# replace '/' with '-' in branch name
|
||||
tags: ${CI_COMMIT_BRANCH/\//-}
|
||||
cache: true
|
Loading…
x
Reference in New Issue
Block a user