initial commit
This commit is contained in:
commit
95181a4f22
6 changed files with 177 additions and 0 deletions
34
.woodpecker/.build.yaml
Normal file
34
.woodpecker/.build.yaml
Normal file
|
@ -0,0 +1,34 @@
|
|||
steps:
|
||||
- name: docker
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: ${REGISTRY_URL}
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: ${REGISTRY_URL}/${CI_REPO}
|
||||
tags:
|
||||
- latest
|
||||
- ${CI_PIPELINE_NUMBER}
|
||||
when:
|
||||
- branch: main
|
||||
event: [push, manual]
|
||||
- name: docker-build
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: ${REGISTRY_URL}
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: ${REGISTRY_URL}/${CI_REPO}
|
||||
tags:
|
||||
- testing-${CI_PIPELINE_NUMBER}
|
||||
dry_run: true
|
||||
when:
|
||||
- branch:
|
||||
exclude: main
|
||||
event: [push, manual]
|
||||
depends_on:
|
||||
- lint
|
Loading…
Add table
Add a link
Reference in a new issue