feat: initial commit

Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
This commit is contained in:
Vojtěch Mareš 2025-09-08 14:15:17 +02:00
commit 2f863a4bc4
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
7 changed files with 69 additions and 0 deletions

0
.dockerignore Normal file
View file

13
.editorconfig Normal file
View file

@ -0,0 +1,13 @@
root = true
[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
max_line_length = null
[*.{yaml,yml}]
indent_size = 2

44
.woodpecker/release.yaml Normal file
View file

@ -0,0 +1,44 @@
# depends_on:
# - test
when:
# - event: [tag]
- event: push
branch: ${CI_DEFAULT_BRANCH}
variables:
- &buildx-plugin "woodpeckerci/plugin-docker-buildx:6.0.2"
- &repo "registry.mareshq.com/woodpecker-plugins/some-plugin"
- &platforms "linux/arm64/v8,linux/amd64"
steps:
publish-next:
image: *buildx-plugin
settings:
repo: *repo
platforms: *platforms
tag: next
logins:
- registry: https://registry.mareshq.com
username:
from_secret: registry_username
password:
from_secret: registry_password
when:
branch: main
event: push
publish-tag:
image: *buildx-plugin
settings:
repo: *repo
platforms: *platforms
tag: [latest, "${CI_COMMIT_TAG}"]
logins:
- registry: https://registry.mareshq.com
username:
from_secret: registry_username
password:
from_secret: registry_password
when:
event: tag

5
Dockerfile Normal file
View file

@ -0,0 +1,5 @@
FROM alpine
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# .plugin-template
Template repository for Woodpecker CI plugins.

1
doc.md Normal file
View file

@ -0,0 +1 @@
# some-plugin-name

3
entrypoint.sh Executable file
View file

@ -0,0 +1,3 @@
#! /bin/sh
echo "Hello from plugin, I think you forgot to write me!"