feat: initial commit
Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
This commit is contained in:
commit
4c31a23fae
5 changed files with 63 additions and 0 deletions
23
.woodpecker/build.yaml
Normal file
23
.woodpecker/build.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
when:
|
||||
event: push
|
||||
|
||||
variables:
|
||||
- &buildx-plugin "woodpeckerci/plugin-docker-buildx:6.0.2"
|
||||
- &repo "registry.mareshq.com/library/container-tools"
|
||||
- &platforms "linux/arm64/v8,linux/amd64"
|
||||
|
||||
steps:
|
||||
build:
|
||||
image: *buildx-plugin
|
||||
settings:
|
||||
repo: *repo
|
||||
platforms: *platforms
|
||||
tag: commit-${CI_COMMIT_SHA:0:16}
|
||||
logins:
|
||||
- registry: https://registry.mareshq.com
|
||||
username:
|
||||
from_secret: registry_username
|
||||
password:
|
||||
from_secret: registry_password
|
||||
when:
|
||||
event: push
|
||||
15
.woodpecker/lint.yaml
Normal file
15
.woodpecker/lint.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
when:
|
||||
- event: [pull_request, tag, cron]
|
||||
- event: push
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
- renovate/*
|
||||
|
||||
steps:
|
||||
lint-dockerfile:
|
||||
image: ghcr.io/hadolint/hadolint:v2.13.1-alpine # 2025-09-02
|
||||
depends_on: []
|
||||
commands:
|
||||
- hadolint --ignore DL3003 --ignore DL3018 Dockerfile
|
||||
when:
|
||||
path: "Dockerfile"
|
||||
Loading…
Add table
Add a link
Reference in a new issue