From 8152b883db2aa422b8ba23ad2a24f5272e1a9c14 Mon Sep 17 00:00:00 2001 From: Andreas Mieke Date: Fri, 29 Dec 2023 12:36:30 +0100 Subject: [PATCH 1/3] ci: Only publish on develop and for tags --- .woodpecker.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 83a12aa..d7f8e71 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,5 +1,13 @@ steps: - publish: + build: + image: woodpeckerci/plugin-docker-buildx + settings: + dry-run: true + repo: git.merp.digital/${CI_REPO_OWNER}/woodpecker-scp + platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x + registry: git.merp.digital + + publish-nightly: image: woodpeckerci/plugin-docker-buildx settings: repo: git.merp.digital/${CI_REPO_OWNER}/woodpecker-scp @@ -9,6 +17,8 @@ steps: username: ${CI_REPO_OWNER} password: from_secret: cb_token + when: + - branch: develop publish-release: image: woodpeckerci/plugin-docker-buildx From 55196da8411843096794e63711e8f6f4e2922267 Mon Sep 17 00:00:00 2001 From: Andreas Mieke Date: Fri, 29 Dec 2023 12:37:05 +0100 Subject: [PATCH 2/3] ci: Fix identation again... --- .woodpecker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index d7f8e71..a57b875 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -17,8 +17,8 @@ steps: username: ${CI_REPO_OWNER} password: from_secret: cb_token - when: - - branch: develop + when: + - branch: develop publish-release: image: woodpeckerci/plugin-docker-buildx From 641db218516309e0f746b9178012d901b63b78e1 Mon Sep 17 00:00:00 2001 From: Andreas Mieke Date: Fri, 29 Dec 2023 12:44:15 +0100 Subject: [PATCH 3/3] chore: Add LICENSE and .gitignore --- .gitignore | 18 ++++++++++++++++++ LICENSE.md | 21 +++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..514c7a1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..dea9cc4 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2023 Andreas Mieke + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file