mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-16 21:03:43 +00:00
This PR contains the following updates: | Package | Type | Update | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | docker.gitea.com/runner-images | | digest | `b96ba46` → `139605d` | | | | [docker/login-action](https://github.com/docker/login-action) ([changelog](https://github.com/docker/login-action/compare/81c6f93d4bc991e510b342a00b419b3bb4efc5c6..8aa5831fb8d48d8f76594c7ddde61ae58019f550)) | action | digest | `81c6f93` → `8aa5831` | | | | [github.com/spf13/pflag](https://github.com/spf13/pflag) | require | minor | `v1.0.10` → `v1.1.0` |  |  | | [go](https://go.dev/) ([source](https://github.com/golang/go)) | toolchain | patch | `1.27.3` → `1.27.4` |  |  | | [golang.org/x/sync](https://pkg.go.dev/golang.org/x/sync) | require | minor | [`v0.24.0` → `v0.25.0`](https://cs.opensource.google/go/x/sync/+/refs/tags/v0.24.0...refs/tags/v0.25.0) |  |  | | [golang.org/x/sys](https://pkg.go.dev/golang.org/x/sys) | require | minor | [`v0.49.0` → `v0.50.0`](https://cs.opensource.google/go/x/sys/+/refs/tags/v0.49.0...refs/tags/v0.50.0) |  |  | | [golang.org/x/term](https://pkg.go.dev/golang.org/x/term) | require | minor | [`v0.47.0` → `v0.48.0`](https://cs.opensource.google/go/x/term/+/refs/tags/v0.47.0...refs/tags/v0.48.0) |  |  | | [golang.org/x/text](https://pkg.go.dev/golang.org/x/text) | require | minor | [`v0.43.0` → `v0.44.0`](https://cs.opensource.google/go/x/text/+/refs/tags/v0.43.0...refs/tags/v0.44.0) |  |  | | [quay.io/containers/podman](https://quay.io/containers/podman) ([source](https://github.com/podman-container-tools/podman)) | | major | `v5.8.9-immutable` → `v6.1.3-immutable` |  |  | --- ### HTTP/1 server crash due to MaxBytesReader header race in net/http [CVE-2026-97054](https://nvd.nist.gov/vuln/detail/CVE-2026-97054) / [GO-2026-6859](https://pkg.go.dev/vuln/GO-2026-6859) <details> <summary>More information</summary> #### Details For HTTP/1 servers, when MaxBytesReader's limit is exceeded, "Connection: close" header is automatically set without synchronization, which might race with another header being set explicitly in the server handler. As a result, an HTTP/1 server that utilizes MaxBytesReader or MaxBytesHandler can crash due to runtime panic if its handler reads the request body concurrently with writing the response header. #### Severity Unknown #### References - [https://go.dev/cl/862185](https://go.dev/cl/862185) - [https://go.dev/issue/82563](https://go.dev/issue/82563) - [https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM](https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM) This data is provided by [OSV](https://osv.dev/vulnerability/GO-2026-6859) and the [Go Vulnerability Database](https://github.com/golang/vulndb) ([CC-BY 4.0](https://github.com/golang/vulndb#license)). </details> --- ### Release Notes <details> <summary>spf13/pflag (github.com/spf13/pflag)</summary> ### [`v1.1.0`](https://github.com/spf13/pflag/releases/tag/v1.1.0) [Compare Source](https://github.com/spf13/pflag/compare/v1.0.10...v1.1.0) It's been long enough, and enough things have been fixed, that it might be time to release a new version, even if there isn't any particular big new issue to market as the reason for this release. If you notice anything breaking, it is entirely un-intentional, but you might also have been relying on [undocumented](https://www.hyrumslaw.com/) or [buggy](https://xkcd.com/1172/) behavior. Please file an issue describing what you're doing, how it worked before this release and why it doesn't work anymore, and pin your projects to `v1.0.10` (the latest release before this one) while we decide how to address your concerns. #### What's Changed - README: update badges and minor linting fixes by [@​thaJeztah](https://github.com/thaJeztah) in [#​452](https://github.com/spf13/pflag/pull/452) - Show 'correct' explicit bool value syntax in help by [@​alimpfard](https://github.com/alimpfard) in [#​453](https://github.com/spf13/pflag/pull/453) - Fix for Go 1.24 by [@​pterjan](https://github.com/pterjan) in [#​460](https://github.com/spf13/pflag/pull/460) - fix(map): ensure string-to-string flags maintain stable pointers by [@​brandon1024](https://github.com/brandon1024) in [#​457](https://github.com/spf13/pflag/pull/457) - Fix getFlagType error message by [@​wellitonscheer](https://github.com/wellitonscheer) in [#​462](https://github.com/spf13/pflag/pull/462) - update actions, and fix linting issues by [@​thaJeztah](https://github.com/thaJeztah) in [#​450](https://github.com/spf13/pflag/pull/450) - fix: README.md indicating the use of godoc(deprecated) by [@​malklera](https://github.com/malklera) in [#​467](https://github.com/spf13/pflag/pull/467) - Fix broken link to POSIX argument conventions by [@​tomasaschan](https://github.com/tomasaschan) in [#​464](https://github.com/spf13/pflag/pull/464) - Replace raw stdlib parse errors in typed flag Set methods ([#​269](https://github.com/spf13/pflag/issues/269)) by [@​reuvenharrison](https://github.com/reuvenharrison) in [#​469](https://github.com/spf13/pflag/pull/469) - Extend `UnknownFlags` to `UnknownFlagsHandling` and introduce `PassUnknownFlagToArgs` ([#​337](https://github.com/spf13/pflag/issues/337)) by [@​ikedam](https://github.com/ikedam) in [#​440](https://github.com/spf13/pflag/pull/440) - fix: allow nil default IP flags in GetIP by [@​happysnaker](https://github.com/happysnaker) in [#​483](https://github.com/spf13/pflag/pull/483) - fix: allow hex input in UintSlice by [@​happysnaker](https://github.com/happysnaker) in [#​484](https://github.com/spf13/pflag/pull/484) - fix: honor custom IsBoolFlag compatibility by [@​happysnaker](https://github.com/happysnaker) in [#​487](https://github.com/spf13/pflag/pull/487) - docs: clarify SortFlags example with complete runnable program by [@​happysnaker](https://github.com/happysnaker) in [#​488](https://github.com/spf13/pflag/pull/488) - docs: add release process documentation by [@​happysnaker](https://github.com/happysnaker) in [#​490](https://github.com/spf13/pflag/pull/490) - fix: print to set destination, not hardcoded os.Stderr by [@​quite](https://github.com/quite) in [#​502](https://github.com/spf13/pflag/pull/502) - ci: bump golangci-lint to v2.13 for Go 1.27 by [@​hdimer](https://github.com/hdimer) in [#​508](https://github.com/spf13/pflag/pull/508) - Initialize the target map when a StringToString flag has a nil default by [@​nikolauspschuetz](https://github.com/nikolauspschuetz) in [#​506](https://github.com/spf13/pflag/pull/506) - fix: honour deprecated ParseErrorsWhitelist.UnknownFlagsHandling by [@​lenamonj](https://github.com/lenamonj) in [#​507](https://github.com/spf13/pflag/pull/507) - test: add StringSlice Append coverage by [@​LY-19418](https://github.com/LY-19418) in [#​504](https://github.com/spf13/pflag/pull/504) - Keep wrapping after an unbreakable usage word by [@​AzazelSensei](https://github.com/AzazelSensei) in [#​503](https://github.com/spf13/pflag/pull/503) - Validate IP slice values before appending or replacing by [@​agammann](https://github.com/agammann) in [#​513](https://github.com/spf13/pflag/pull/513) - fix(ci): Use the latest golangci-lint release by [@​tomasaschan](https://github.com/tomasaschan) in [#​525](https://github.com/spf13/pflag/pull/525) - Reject IPv6 addresses as IPv4 masks by [@​yuefdev](https://github.com/yuefdev) in [#​524](https://github.com/spf13/pflag/pull/524) - Report the flag name as typed in deprecation warnings by [@​hdimer](https://github.com/hdimer) in [#​500](https://github.com/spf13/pflag/pull/500) - Document non-interspersed argument parsing by [@​yuefdev](https://github.com/yuefdev) in [#​523](https://github.com/spf13/pflag/pull/523) - Preserve trailing whitespace in StringToString formatting by [@​r4venrudy](https://github.com/r4venrudy) in [#​522](https://github.com/spf13/pflag/pull/522) - Reject extra CSV records in StringToString arguments by [@​Harshil-1603](https://github.com/Harshil-1603) in [#​521](https://github.com/spf13/pflag/pull/521) - Preserve current string values in CopyToGoFlagSet by [@​adenzhou1350](https://github.com/adenzhou1350) in [#​520](https://github.com/spf13/pflag/pull/520) - Fix type identification and mismatch checks for text flags by [@​dewanshshekhar](https://github.com/dewanshshekhar) in [#​526](https://github.com/spf13/pflag/pull/526) - fix: enforce native integer flag bounds on 32-bit platforms by [@​gdpu11](https://github.com/gdpu11) in [#​534](https://github.com/spf13/pflag/pull/534) - fix: preserve count flag values when parsing fails by [@​gdpu11](https://github.com/gdpu11) in [#​533](https://github.com/spf13/pflag/pull/533) #### New Contributors - [@​alimpfard](https://github.com/alimpfard) made their first contribution in [#​453](https://github.com/spf13/pflag/pull/453) - [@​pterjan](https://github.com/pterjan) made their first contribution in [#​460](https://github.com/spf13/pflag/pull/460) - [@​brandon1024](https://github.com/brandon1024) made their first contribution in [#​457](https://github.com/spf13/pflag/pull/457) - [@​wellitonscheer](https://github.com/wellitonscheer) made their first contribution in [#​462](https://github.com/spf13/pflag/pull/462) - [@​malklera](https://github.com/malklera) made their first contribution in [#​467](https://github.com/spf13/pflag/pull/467) - [@​reuvenharrison](https://github.com/reuvenharrison) made their first contribution in [#​469](https://github.com/spf13/pflag/pull/469) - [@​ikedam](https://github.com/ikedam) made their first contribution in [#​440](https://github.com/spf13/pflag/pull/440) - [@​happysnaker](https://github.com/happysnaker) made their first contribution in [#​483](https://github.com/spf13/pflag/pull/483) - [@​quite](https://github.com/quite) made their first contribution in [#​502](https://github.com/spf13/pflag/pull/502) - [@​hdimer](https://github.com/hdimer) made their first contribution in [#​508](https://github.com/spf13/pflag/pull/508) - [@​nikolauspschuetz](https://github.com/nikolauspschuetz) made their first contribution in [#​506](https://github.com/spf13/pflag/pull/506) - [@​lenamonj](https://github.com/lenamonj) made their first contribution in [#​507](https://github.com/spf13/pflag/pull/507) - [@​LY-19418](https://github.com/LY-19418) made their first contribution in [#​504](https://github.com/spf13/pflag/pull/504) - [@​AzazelSensei](https://github.com/AzazelSensei) made their first contribution in [#​503](https://github.com/spf13/pflag/pull/503) - [@​agammann](https://github.com/agammann) made their first contribution in [#​513](https://github.com/spf13/pflag/pull/513) - [@​yuefdev](https://github.com/yuefdev) made their first contribution in [#​524](https://github.com/spf13/pflag/pull/524) - [@​r4venrudy](https://github.com/r4venrudy) made their first contribution in [#​522](https://github.com/spf13/pflag/pull/522) - [@​Harshil-1603](https://github.com/Harshil-1603) made their first contribution in [#​521](https://github.com/spf13/pflag/pull/521) - [@​adenzhou1350](https://github.com/adenzhou1350) made their first contribution in [#​520](https://github.com/spf13/pflag/pull/520) - [@​dewanshshekhar](https://github.com/dewanshshekhar) made their first contribution in [#​526](https://github.com/spf13/pflag/pull/526) - [@​gdpu11](https://github.com/gdpu11) made their first contribution in [#​534](https://github.com/spf13/pflag/pull/534) **Full Changelog**: <https://github.com/spf13/pflag/compare/v1.0.10...v1.1.0> </details> <details> <summary>podman-container-tools/podman (quay.io/containers/podman)</summary> ### [`v6.1.3`](https://github.com/podman-container-tools/podman/releases/tag/v6.1.3) [Compare Source](https://github.com/podman-container-tools/podman/compare/v5.8.9...v6.1.3) ##### Security - This release addresses [CVE-2026-94603](https://github.com/podman-container-tools/podman/security/advisories/GHSA-2cvf-wqm6-wr9g), where a `podman run` on a checkpoint image (any image with the `io.podman.annotations.checkpoint.runtime.name` annotation) could disable all sandboxing, including sandboxing specified by the user, when the container was created. ##### Breaking Changes - Removed support for checkpoint images in `podman run` due to serious security concerns with the different security models of running images and running checkpoints. Checkpoints ignore user-specified security configuration and are very difficult to run safely. </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM, only on Monday (`* 0-3 * * 1`) - 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIzOS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://gitea.com/gitea/runner/pulls/1414 Reviewed-by: silverwind <[email protected]> Co-authored-by: Renovate Bot <[email protected]>
115 lines
4.0 KiB
YAML
115 lines
4.0 KiB
YAML
---
|
|
name: release-nightly
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
tags:
|
|
- '*'
|
|
|
|
env:
|
|
DOCKER_ORG: gitea
|
|
|
|
jobs:
|
|
goreleaser:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
with:
|
|
fetch-depth: 0
|
|
# Custom publishers (the R2 upload below) run as the very last
|
|
# step of goreleaser's publish pipeline, after the Gitea release
|
|
# has already been created. Fail here instead, before anything
|
|
# is built or published, if the R2 secrets are missing.
|
|
- name: check R2 configuration
|
|
run: sh scripts/upload-r2.sh --check-config
|
|
env:
|
|
R2_ENDPOINT: ${{ secrets.R2_ENDPOINT }}
|
|
R2_BUCKET: ${{ secrets.R2_BUCKET }}
|
|
R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
|
|
R2_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
|
|
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7
|
|
with:
|
|
go-version-file: "go.mod"
|
|
check-latest: true
|
|
- name: Import GPG key
|
|
id: import_gpg
|
|
uses: crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7
|
|
with:
|
|
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
|
passphrase: ${{ secrets.PASSPHRASE }}
|
|
fingerprint: CC64B1DB67ABBEECAB24B6455FC346329753F4B0
|
|
- name: goreleaser
|
|
uses: goreleaser/goreleaser-action@a4f02ab5355a589de60d917a659ce617ed19b3de # v7
|
|
with:
|
|
distribution: goreleaser-pro
|
|
args: release --nightly
|
|
env:
|
|
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
|
|
R2_ENDPOINT: ${{ secrets.R2_ENDPOINT }}
|
|
R2_BUCKET: ${{ secrets.R2_BUCKET }}
|
|
R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
|
|
R2_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
|
|
GORELEASER_FORCE_TOKEN: "gitea"
|
|
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
|
|
|
|
release-image:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
variant:
|
|
# The basic image is built from source and can target any arch the
|
|
# toolchain supports. The dind variants are limited to the arches the
|
|
# docker:dind base image publishes.
|
|
- target: basic
|
|
tag_suffix: ""
|
|
platforms: linux/amd64,linux/arm64,linux/riscv64,linux/s390x
|
|
- target: dind
|
|
tag_suffix: "-dind"
|
|
platforms: linux/amd64,linux/arm64
|
|
- target: dind-rootless
|
|
tag_suffix: "-dind-rootless"
|
|
platforms: linux/amd64,linux/arm64
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
with:
|
|
fetch-depth: 0 # all history for all branches and tags
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4
|
|
|
|
- name: Set up Docker BuildX
|
|
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
|
|
|
|
- name: Login to DockerHub
|
|
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4
|
|
with:
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
- name: Echo the tag
|
|
run: echo "${{ env.DOCKER_ORG }}/runner:nightly${{ matrix.variant.tag_suffix }}"
|
|
|
|
- name: Get Meta
|
|
id: meta
|
|
run: |
|
|
echo REPO_VERSION=$(git describe --tags --always | sed 's/-/+/' | sed 's/^v//') >> $GITHUB_OUTPUT
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7
|
|
with:
|
|
context: .
|
|
file: ./Dockerfile
|
|
target: ${{ matrix.variant.target }}
|
|
platforms: ${{ matrix.variant.platforms }}
|
|
push: true
|
|
tags: |
|
|
${{ env.DOCKER_ORG }}/runner:nightly${{ matrix.variant.tag_suffix }}
|
|
build-args: |
|
|
VERSION=${{ steps.meta.outputs.REPO_VERSION }}
|