Add tests for pre-commit container
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/test Pipeline failed

Run pre-commit on the freshly built container against salt and rc2matrix
This commit is contained in:
Henrik HerHde Huettemann 2024-06-20 16:39:03 +02:00
parent 7b022827a1
commit 64c3f1fa9c
Signed by: HueHe
GPG key ID: 68FE5FEEBF1EAF5B
2 changed files with 69 additions and 10 deletions

View file

@ -1,32 +0,0 @@
when:
path: '*Dockerfile*'
steps:
build-main:
when:
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,,}
tag: 'latest'
build-branch:
when:
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,,}
tag: ${CI_COMMIT_BRANCH}