mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-01-18 16:47:54 +00:00
079fd09c43
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 | `5.0.0` -> `5.1.0` | --- ### Release Notes <details> <summary>woodpecker-plugins/docker-buildx (woodpeckerci/plugin-docker-buildx)</summary> ### [`v5.1.0`](https://codeberg.org/woodpecker-plugins/docker-buildx/blob/HEAD/CHANGELOG.md#510---2024-12-07) [Compare Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/v5.0.0...v5.1.0) ##### ❤️ Thanks to all contributors! ❤️ [@​6543](https://github.com/6543), [@​pat-s](https://github.com/pat-s), [@​woodpecker-bot](https://github.com/woodpecker-bot) ##### 📈 Enhancement - Allow build-args to get json \[[#​202](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/202)] ##### 📚 Documentation - Clarify insecure tag \[[#​200](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/200)] ##### 📦️ Dependency - fix(deps): update module github.com/urfave/cli/v3 to v3.0.0-alpha9.1 \[[#​199](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/199)] - chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5.0.0 \[[#​198](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/198)] ##### Misc - chore(deps): update docker/buildx-bin docker tag to v0.19.1 ([5ff83b1](5ff83b1454
)) - fix(deps): update module github.com/urfave/cli/v3 to v3.0.0-beta1 ([62b3316](62b3316cb6
)) - chore(deps): update woodpeckerci/plugin-release docker tag to v0.2.2 ([2ff549c](2ff549c3c6
)) - fix(deps): update module github.com/stretchr/testify to v1.10.0 ([ed1d55f](ed1d55f533
)) - chore(deps): update docker/buildx-bin docker tag to v0.18.0 ([43bbfaa](43bbfaa0af
)) - chore(deps): update docker.io/woodpeckerci/plugin-ready-release-go docker tag to v2.1.1 ([faf4a88](faf4a889f6
)) - fix(deps): update module github.com/urfave/cli/v3 to v3.0.0-alpha9.4 ([1d723a3](1d723a3379
)) - chore(deps): update davidanson/markdownlint-cli2 docker tag to v0.15.0 ([f6bbd6c](f6bbd6c1c2
)) - fix(deps): update module github.com/urfave/cli/v3 to v3.0.0-alpha9.3 ([8d3d558](8d3d558c09
)) - chore(deps): update dependency go to v1.23.3 ([be45ede](be45ede500
)) - fix(deps): update golang.org/x/lint digest to [`818c5a8`](https://github.com/woodpecker-plugins/docker-buildx/commit/818c5a8) ([cbf2022](cbf20222b0
)) - Add vendor target for make \[[#​201](https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/201)] - remove pat-s from maintainers ([b664c37](b664c37d62
)) - CI: Dont lint on tag event ([1f4e506](1f4e506a19
)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS45MS4zIiwidXBkYXRlZEluVmVyIjoiMzkuOTEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de> Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/421 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.23
|
|
commands:
|
|
- go version
|
|
- just build
|
|
when:
|
|
- event: [push, pull_request]
|
|
|
|
docker-dryrun:
|
|
depends_on: vendor
|
|
image: woodpeckerci/plugin-docker-buildx:5.1.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.23
|
|
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.23
|
|
commands:
|
|
- just test
|
|
when:
|
|
- event: [pull_request]
|
|
|
|
integration-tests:
|
|
depends_on: build
|
|
image: codeberg.org/6543/docker-images/golang_just:go-1.23
|
|
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.2
|
|
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.1.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.1.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.1.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]
|