gitea-package/.woodpecker/ci.yml

107 lines
2.8 KiB
YAML
Raw Permalink Normal View History

when:
- event: [pull_request, tag, cron]
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
variables:
chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4.2.0 (#15) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [woodpeckerci/plugin-docker-buildx](https://codeberg.org/woodpecker-plugins/docker-buildx) ([source](https://codeberg.org/woodpecker-plugins/docker-buildx.git)) | minor | `4.0.0` -> `4.2.0` | --- ### Release Notes <details> <summary>woodpecker-plugins/docker-buildx (woodpeckerci/plugin-docker-buildx)</summary> ### [`v4.2.0`](https://codeberg.org/woodpecker-plugins/docker-buildx/releases/tag/v4.2.0) [Compare Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v4.1.0...v4.2.0) ##### Features - Add dedicated setting to automatically handle proxy configuration ([#&#8203;171](https://github.com/woodpecker-plugins/docker-buildx/issues/171)) ##### Dependencies - chore(deps): update docker/buildx-bin docker tag to v0.16.0 - fix(deps): update module github.com/aws/aws-sdk-go to v1.54.19 ### [`v4.1.0`](https://codeberg.org/woodpecker-plugins/docker-buildx/releases/tag/v4.1.0) [Compare Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v4.0.0...v4.1.0) ##### Features - Pass Daemon.Mirror to Docker daemon ([#&#8203;165](https://github.com/woodpecker-plugins/docker-buildx/issues/165)) ##### Bug Fixes - Respect repository mirrors without login credentials ([#&#8203;164](https://github.com/woodpecker-plugins/docker-buildx/issues/164)) ##### Dependencies - chore(deps): update docker/buildx-bin docker tag to v0.15.1 - chore(deps): update docker docker tag to v26.1.4 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjguMyIsInVwZGF0ZWRJblZlciI6IjM3LjQzNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://gitea.ocram85.com/plugins/gitea-package/pulls/15 Co-authored-by: renovate-bot <renovate@ocram85.com> Co-committed-by: renovate-bot <renovate@ocram85.com>
2024-09-09 10:59:36 +02:00
- &build_plugin 'woodpeckerci/plugin-docker-buildx:4.2.0'
# deployment targets
# TODO: Disabled docker hub target until first release is ready / Rate Limits
- &publish_repos 'ocram85/plugin-gitea-package,gitea.ocram85.com/plugins/gitea-package'
#- &publish_repos 'gitea.ocram85.com/plugins/gitea-package'
# logins for deployment targets
- publish_logins: &publish_logins
# Default DockerHub login
- registry: https://index.docker.io/v1/
username:
from_secret: docker_user
password:
from_secret: docker_passwd
# Additional Gitea login
- registry: https://gitea.ocram85.com
username:
from_secret: gitea_user
password:
from_secret: gitea_passwd
steps:
lint-dockerfile:
image: hadolint/hadolint:v2.12.1-beta-alpine
commands:
#- cat Dockerfile
#- hadolint --verbose --ignore DL3003 --ignore DL3018 Dockerfile
- hadolint --ignore DL3003 --ignore DL3018 Dockerfile
#when:
# path: "Dockerfile"
lint-markdown:
chore(deps): update davidanson/markdownlint-cli2 docker tag to v0.14.0 (#17) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [davidanson/markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) | minor | `v0.13.0` -> `v0.14.0` | --- ### Release Notes <details> <summary>DavidAnson/markdownlint-cli2 (davidanson/markdownlint-cli2)</summary> ### [`v0.14.0`](https://github.com/DavidAnson/markdownlint-cli2/compare/v0.13.0...v0.14.0) [Compare Source](https://github.com/DavidAnson/markdownlint-cli2/compare/v0.13.0...v0.14.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Co-authored-by: OCram85 <marco.blessing@googlemail.com> Reviewed-on: https://gitea.ocram85.com/plugins/gitea-package/pulls/17 Co-authored-by: renovate-bot <renovate@ocram85.com> Co-committed-by: renovate-bot <renovate@ocram85.com>
2024-09-09 11:02:29 +02:00
image: davidanson/markdownlint-cli2:v0.14.0
commands:
- "markdownlint-cli2 *.{md,markdown}"
when:
path: "*.{md,markdown}"
lint-editorconfig:
depends_on: []
chore(deps): update docker.io/mstruebing/editorconfig-checker docker tag to v3.0.3 (#13) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [docker.io/mstruebing/editorconfig-checker](https://github.com/editorconfig-checker/editorconfig-checker) | patch | `v3.0.1` -> `v3.0.3` | --- ### Release Notes <details> <summary>editorconfig-checker/editorconfig-checker (docker.io/mstruebing/editorconfig-checker)</summary> ### [`v3.0.3`](https://github.com/editorconfig-checker/editorconfig-checker/releases/tag/v3.0.3) [Compare Source](https://github.com/editorconfig-checker/editorconfig-checker/compare/v3.0.1...v3.0.3) #### What's Changed - Revert "fix: check if multiple newlines are at EOF ([#&#8203;350](https://github.com/editorconfig-checker/editorconfig-checker/issues/350))" by [@&#8203;mstruebing](https://github.com/mstruebing) in https://github.com/editorconfig-checker/editorconfig-checker/pull/354 - ci: publish docker image by [@&#8203;mstruebing](https://github.com/mstruebing) in https://github.com/editorconfig-checker/editorconfig-checker/pull/355 **Full Changelog**: https://github.com/editorconfig-checker/editorconfig-checker/compare/v3.0.2...v3.0.3 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjQyNC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://gitea.ocram85.com/plugins/gitea-package/pulls/13 Reviewed-by: OCram85 <marco.blessing@googlemail.com> Co-authored-by: renovate-bot <renovate@ocram85.com> Co-committed-by: renovate-bot <renovate@ocram85.com>
2024-07-09 15:30:01 +02:00
image: docker.io/mstruebing/editorconfig-checker:v3.0.3
when:
event: pull_request
test:
image: *build_plugin
settings:
dry_run: true
registry: gitea.ocram85.com
repo: test
dockerfile: Dockerfile
platforms: linux/amd64
auto_tag: true
build_args:
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
- TAG=${CI_COMMIT_TAG}
when:
event: pull_request
branch: ${CI_REPO_DEFAULT_BRANCH}
publish:
image: *build_plugin
settings:
repo: *publish_repos
dockerfile: Dockerfile
platforms: linux/amd64
auto_tag: true
logins: *publish_logins
build_args:
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
- TAG=${CI_COMMIT_TAG}
when:
event: [push, tag, cron]
branch: ${CI_REPO_DEFAULT_BRANCH}
build-next:
image: *build_plugin
settings:
repo: *publish_repos
dockerfile: Dockerfile
platforms: linux/amd64
tag: next
logins: *publish_logins
build_args:
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
- TAG=${CI_COMMIT_TAG}
when:
event: [pull_request]
gitea-release:
image: plugins/gitea-release
settings:
api_key:
from_secret: RENOVATE_TOKEN
base_url: https://gitea.ocram85.com
title: ${CI_COMMIT_TAG}
note: "> :bulb: **Note:** See [CHANGELOG.md](src/branch/master/CHANGELOG.md) for recent changes."
when:
event: [tag]
branch: ${CI_REPO_DEFAULT_BRANCH}