ci: finalize woodpecker pipeline
All checks were successful
ci/woodpecker/push/build-image Pipeline was successful
All checks were successful
ci/woodpecker/push/build-image Pipeline was successful
This commit is contained in:
parent
a5a840accc
commit
8797238c4d
@ -1,33 +1,15 @@
|
|||||||
when:
|
when:
|
||||||
- event: [push]
|
- event: [push]
|
||||||
steps:
|
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
|
- name: build
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
settings:
|
settings:
|
||||||
registry: gitea.cazzzer.com
|
registry: gitea.cazzzer.com
|
||||||
repo: ${CI_REPO,,}
|
repo: ${CI_REPO,,}
|
||||||
# tags: ci
|
# replace invalid characters in branch name
|
||||||
|
tags: ${CI_COMMIT_BRANCH/\//-}
|
||||||
# tags: ${CI_COMMIT_BRANCH//[^a-zA-Z0-9._-]/-}
|
cache: true
|
||||||
username:
|
username:
|
||||||
from_secret: registry-username
|
from_secret: registry-username
|
||||||
password:
|
password:
|
||||||
from_secret: registry-password
|
from_secret: registry-password
|
||||||
# replace invalid characters in branch name
|
|
||||||
tags: ${CI_COMMIT_BRANCH/\//-}
|
|
||||||
# auto_tag: true
|
|
||||||
cache: true
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user