ci: change image build tags to branch
This commit is contained in:
parent
ee261142e8
commit
fbc93d87e0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user