vpgen/.woodpecker/build-image.yml

24 lines
572 B
YAML

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
# - echo $${CI_COMMIT_BRANCH/\\//-}
- 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