vpgen/.woodpecker/build-image.yml
Yuri Tatishchev 5db86ca285
Some checks failed
ci/woodpecker/push/build-image Pipeline failed
add woodpecker ci - buildx
2025-04-21 22:43:03 -07:00

45 lines
1.1 KiB
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/\\//-}
- echo $USERNAME:$PASSWORD
environment:
USERNAME:
from_secret: registry-username
PASSWORD:
from_secret: registry-password
- name: build
image: woodpeckerci/plugin-docker-buildx:5.2.2
settings:
registry: gitea.cazzzer.com
repo: gitea.cazzzer.com/${CI_REPO}
tags: ci
username:
from_secret: registry-username
password:
from_secret: registry-password
# - name: build
# image: woodpeckerci/plugin-kaniko
# settings:
# registry: gitea.cazzzer.com
# username:
# from_secret: registry-username
# password:
# from_secret: registry-password
# repo: gitea.cazzzer.com/${CI_REPO}
# # replace '/' with '_' in branch name
# # remove 'feature/' prefix in branch name
# # tags: ${CI_COMMIT_BRANCH##feature/}
# # auto_tag: true
# tags: ci
# # cache: true