feat: initial commit
Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
This commit is contained in:
commit
5193684bd7
5 changed files with 59 additions and 0 deletions
13
.editorconfig
Normal file
13
.editorconfig
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
end_of_line = lf
|
||||||
|
max_line_length = null
|
||||||
|
|
||||||
|
[Makefile]
|
||||||
|
indent_style = tab
|
||||||
24
.woodpecker/build.yaml
Normal file
24
.woodpecker/build.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
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"
|
||||||
|
- &image_tag "${CI_COMMIT_REF/ref\/heads\//}-${CI_COMMIT_SHA:0:8}"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
build:
|
||||||
|
image: *buildx-plugin
|
||||||
|
settings:
|
||||||
|
repo: *repo
|
||||||
|
platforms: *platforms
|
||||||
|
tag: *image_tag
|
||||||
|
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"
|
||||||
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
FROM alpine:3.22 AS base
|
||||||
|
|
||||||
|
RUN apk add --no-cache ca-certificates
|
||||||
|
|
||||||
|
FROM base AS container-tools
|
||||||
|
|
||||||
|
RUN apk add --no-cache skopeo oras-cli cosign
|
||||||
0
README.md
Normal file
0
README.md
Normal file
Loading…
Add table
Add a link
Reference in a new issue