mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-06 06:17:02 +00:00
532e1af2fc
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)) | major | `4.2.0` -> `5.0.0` | --- ### Release Notes <details> <summary>woodpecker-plugins/docker-buildx (woodpeckerci/plugin-docker-buildx)</summary> ### [`v5.0.0`](https://codeberg.org/woodpecker-plugins/docker-buildx/blob/HEAD/CHANGELOG.md#500---2024-10-09) [Compare Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v4.2.0...v5.0.0) ##### ❤️ Thanks to all contributors! ❤️ [@​6543](https://github.com/6543), [@​flyingscorpio](https://github.com/flyingscorpio), [@​pat-s](https://github.com/pat-s), [@​woodpecker-bot](https://github.com/woodpecker-bot) ##### 💥 Breaking changes - Hide insecure configuration options behind insecure tag \[[#​194](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/194)] - chore(deps): update docker docker tag to v27 \[[#​170](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/170)] ##### ✨ Features - Add `sbom` option \[[#​187](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/187)] ##### 📈 Enhancement - Optimize container layers \[[#​191](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/191)] - Dont let proxy config overwrite dedicated buildkit_driveropt proxy options if set \[[#​175](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/175)] ##### 🐛 Bug Fixes - Quote `no_proxy` \[[#​185](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/185)] - Update drone-plugin-lib to handle nil pointer \[[#​178](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/178)] ##### 📚 Documentation - update pipeline config example \[[#​180](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/180)] ##### 📦️ Dependency - chore(deps): update docker docker tag to v27.2.1 \[[#​183](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/183)] - fix(deps): update github.com/urfave/cli/v3 digest to [`31c5c84`](https://github.com/woodpecker-plugins/docker-buildx/commit/31c5c84) \[[#​182](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/182)] - Update to github.com/urfave/cli/v3 \[[#​173](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/173)] ##### Misc - dont ignore changelog ([f3f8166](f3f8166af3
)) - Add nix flake \[[#​192](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/192)] - chore(deps): update dependency go to v1.23.2 ([9c4cea3](9c4cea3ccc
)) - fix(deps): update github.com/urfave/cli/v3 digest to [`20ef97b`](https://github.com/woodpecker-plugins/docker-buildx/commit/20ef97b) ([b6a6f1c](b6a6f1c772
)) - Add release config for release-helper plugin \[[#​190](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/190)] - Use ready-release-go plugin \[[#​189](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/189)] - add-remote-builders \[[#​179](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/179)] - chore(deps): update docker docker tag to v27.3.1 ([4fedea4](4fedea4855
)) - chore(deps): update docker/buildx-bin docker tag to v0.17.1 ([b807eda](b807edaa48
)) - chore(deps): update davidanson/markdownlint-cli2 docker tag to v0.14.0 ([8435819](8435819971
)) - chore(deps): update dependency go to v1.23.1 ([3ee6b8b](3ee6b8bb9d
)) - chore(deps): update docker docker tag to v27.2.0 ([c661b7a](c661b7a48d
)) - fix(deps): update github.com/urfave/cli/v3 digest to [`3d76e1b`](https://github.com/woodpecker-plugins/docker-buildx/commit/3d76e1b) ([ba44638](ba44638dda
)) - fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.3 ([0e1e881](0e1e8818e7
)) - fix(deps): update github.com/urfave/cli/v3 digest to [`5386081`](https://github.com/woodpecker-plugins/docker-buildx/commit/5386081) ([cf7d19c](cf7d19cbb1
)) - fix(deps): update module honnef.co/go/tools to v0.5.1 ([23b0f61](23b0f61255
)) - chore(deps): update golang docker tag to v1.23 ([b98307b](b98307bb3e
)) - fix(deps): update github.com/urfave/cli/v3 digest to [`3110c0e`](https://github.com/woodpecker-plugins/docker-buildx/commit/3110c0e) ([13aa887](13aa8879a2
)) - chore(deps): update docker docker tag to v27.1.2 ([fe28f12](fe28f12be1
)) - chore(deps): update woodpeckerci/plugin-release docker tag to v0.2.1 ([ea32257](ea32257d1d
)) - fix(deps): update module github.com/aws/aws-sdk-go to v1.55.5 ([af71dcd](af71dcdbde
)) - fix(deps): update module github.com/aws/aws-sdk-go to v1.55.3 ([1d5b8fd](1d5b8fdc17
)) - chore(deps): update docker/buildx-bin docker tag to v0.16.2 ([c671088](c671088766
)) - chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4.2.0 ([642f2b3](642f2b36d7
)) - chore(deps): update docker/buildx-bin docker tag to v0.16.1 ([f8b58f5](f8b58f573b
)) - fix(deps): update github.com/urfave/cli/v3 digest to [`127cf54`](https://github.com/woodpecker-plugins/docker-buildx/commit/127cf54) ([03cd73f](03cd73f068
)) - update version parse lib ([42395c5](42395c51ec
)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC). 🚦 **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:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de> Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/392 Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org> Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
122 lines
2.9 KiB
YAML
122 lines
2.9 KiB
YAML
when:
|
|
- event: [push, pull_request, tag, cron]
|
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
steps:
|
|
# use vendor to cache dependencies
|
|
vendor:
|
|
image: golang:1.23
|
|
commands:
|
|
- go mod vendor
|
|
|
|
build:
|
|
depends_on: vendor
|
|
image: codeberg.org/6543/docker-images/golang_just:go-1.22
|
|
commands:
|
|
- go version
|
|
- just build
|
|
when:
|
|
- event: [push, pull_request]
|
|
|
|
docker-dryrun:
|
|
depends_on: vendor
|
|
image: woodpeckerci/plugin-docker-buildx:5.0.0
|
|
settings:
|
|
dockerfile: Dockerfile
|
|
platforms: linux/amd64
|
|
dry-run: true
|
|
tags: latest
|
|
when:
|
|
- event: [pull_request]
|
|
path: Dockerfile
|
|
|
|
build-tag:
|
|
depends_on: vendor
|
|
image: codeberg.org/6543/docker-images/golang_just:go-1.22
|
|
commands:
|
|
- go version
|
|
- just build-tag ${CI_COMMIT_TAG##v}
|
|
when:
|
|
- event: [tag]
|
|
|
|
test:
|
|
depends_on: build
|
|
image: codeberg.org/6543/docker-images/golang_just:go-1.22
|
|
commands:
|
|
- just test
|
|
when:
|
|
- event: [pull_request]
|
|
|
|
integration-tests:
|
|
depends_on: build
|
|
image: codeberg.org/6543/docker-images/golang_just:go-1.22
|
|
commands:
|
|
- just integration
|
|
environment:
|
|
- ACME_API=https://acme.mock.directory
|
|
- PAGES_DOMAIN=localhost.mock.directory
|
|
- RAW_DOMAIN=raw.localhost.mock.directory
|
|
- PORT=4430
|
|
when:
|
|
- event: [pull_request]
|
|
|
|
release:
|
|
depends_on: build
|
|
image: woodpeckerci/plugin-release:0.2.1
|
|
settings:
|
|
base_url: https://codeberg.org
|
|
file_exists: overwrite
|
|
files: build/codeberg-pages-server
|
|
api_key:
|
|
from_secret: bot_token
|
|
when:
|
|
- event: [tag]
|
|
|
|
docker-next:
|
|
depends_on: vendor
|
|
image: woodpeckerci/plugin-docker-buildx:5.0.0
|
|
settings:
|
|
registry: codeberg.org
|
|
dockerfile: Dockerfile
|
|
platforms: linux/amd64,arm64
|
|
repo: codeberg.org/codeberg/pages-server
|
|
tags: next
|
|
username:
|
|
from_secret: bot_user
|
|
password:
|
|
from_secret: bot_token
|
|
when:
|
|
- event: [push]
|
|
|
|
'Publish PR image':
|
|
image: woodpeckerci/plugin-docker-buildx:5.0.0
|
|
depends_on: test
|
|
settings:
|
|
registry: codeberg.org
|
|
dockerfile: Dockerfile
|
|
platforms: linux/amd64
|
|
repo: codeberg.org/codeberg/pages-server
|
|
tags: next
|
|
username:
|
|
from_secret: bot_user
|
|
password:
|
|
from_secret: bot_token
|
|
when:
|
|
evaluate: 'CI_COMMIT_PULL_REQUEST_LABELS contains "build_pr_image"'
|
|
event: pull_request
|
|
|
|
docker-release:
|
|
depends_on: vendor
|
|
image: woodpeckerci/plugin-docker-buildx:5.0.0
|
|
settings:
|
|
registry: codeberg.org
|
|
dockerfile: Dockerfile
|
|
platforms: linux/amd64,arm64
|
|
repo: codeberg.org/codeberg/pages-server
|
|
tags: [latest, '${CI_COMMIT_TAG}']
|
|
username:
|
|
from_secret: bot_user
|
|
password:
|
|
from_secret: bot_token
|
|
when:
|
|
- event: [tag]
|