Add tests for pre-commit container
Run pre-commit on the freshly built container against salt and rc2matrix
This commit is contained in:
parent
7b022827a1
commit
64c3f1fa9c
2 changed files with 69 additions and 10 deletions
35
.woodpecker/.build.yaml
Normal file
35
.woodpecker/.build.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
steps:
|
||||
build main:
|
||||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
image: woodpeckerci/plugin-docker-buildx:4.0.0@sha256:9d24b71c37d7a958d79252e608c4d1a04b02f2e74d4e26003b43e0830038bde0
|
||||
pull: true
|
||||
settings:
|
||||
platforms: linux/amd64
|
||||
registry: ${CI_FORGE_URL}
|
||||
username: WoodpeckerCI
|
||||
password:
|
||||
from_secret: gitea_token
|
||||
repo: git.verdigado.com/${CI_REPO,,}
|
||||
tags:
|
||||
- 'latest'
|
||||
- ${CI_COMMIT_SHA}
|
||||
|
||||
build branch:
|
||||
when:
|
||||
- event: push
|
||||
branch:
|
||||
exclude: ['main']
|
||||
image: woodpeckerci/plugin-docker-buildx:4.0.0@sha256:9d24b71c37d7a958d79252e608c4d1a04b02f2e74d4e26003b43e0830038bde0
|
||||
pull: true
|
||||
settings:
|
||||
platforms: linux/amd64
|
||||
registry: ${CI_FORGE_URL}
|
||||
username: WoodpeckerCI
|
||||
password:
|
||||
from_secret: gitea_token
|
||||
repo: git.verdigado.com/${CI_REPO,,}
|
||||
tags:
|
||||
- ${CI_COMMIT_BRANCH}
|
||||
- ${CI_COMMIT_SHA}
|
Loading…
Add table
Add a link
Reference in a new issue