ci: change image build tags to branch

This commit is contained in:
Yuri Tatishchev 2025-04-23 16:50:01 -07:00
parent ee261142e8
commit fbc93d87e0
Signed by: CaZzzer
SSH Key Fingerprint: SHA256:sqXB3fe0LMpfH+IeM/vlmxKdso52kssrIJBlwKXVe1U

View File

@ -15,17 +15,6 @@ steps:
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:
@ -38,8 +27,7 @@ steps:
from_secret: registry-username
password:
from_secret: registry-password
# replace '/' with '_' in branch name
# remove 'feature/' prefix in branch name
# tags: ${CI_COMMIT_BRANCH##feature/}
# replace invalid characters in branch name
tags: ${CI_COMMIT_BRANCH,,/[^a-z0-9._-]/-}
# auto_tag: true
# cache: true