9 Commits
Author SHA1 Message Date
fristy 4afdb1f90d Merge pull request 'chore(deps): update dependency pnpm to v12.24.0' (#15) from renovate/runner-tool-versions into main
release / meta (push) Successful in 2s
release / publish (26.10, ubuntu-26.10,ubuntu-latest) (push) Successful in 3m39s
release / publish (24.04, ubuntu-24.04) (push) Successful in 3m39s
release / publish (26.04, ubuntu-26.04) (push) Successful in 3m39s
release / tag (push) Successful in 2s
Reviewed-on: #15
2026-12-01 13:43:23 +03:00
fristy 6cacaf221c fix(ci): survive expired github download urls
build / build (26.04) (pull_request) Successful in 3m36s
build / build (24.04) (pull_request) Successful in 3m39s
build / build (26.10) (pull_request) Successful in 3m44s
GitHub answers a release asset download with HTTP 618 (jwt:expired) once the signed URL has expired, and the build layer dies on it. Two runs in a row lost build (24.04) on gh_2.106.0_linux_amd64.tar.gz while the same file downloaded fine in a sibling job of the same run.

Wrap curl in /usr/local/bin with retries and a no-cache request header, which covers the Dockerfile downloads and installer scripts such as cargo-zigbuild-installer.sh. Pull request builds also read the buildcache-<base> registry cache that release.yaml writes on every main push, so a cache hit skips the downloads.

Signed-off-by: fristyxd <gpg@fristy.dev>
2026-12-01 13:36:29 +03:00
renovate Bot 434cf16ceb chore(deps): update dependency pnpm to v12.24.0
renovate/stability-days Updates have met minimum release age requirement
build / build (24.04) (pull_request) Failing after 1m27s
build / build (26.10) (pull_request) Successful in 3m6s
build / build (26.04) (pull_request) Successful in 3m22s
2026-12-01 00:23:35 +00:00
fristy 86a7234a15 Merge pull request 'chore(deps): update dependency cli/cli to v2.106.0' (#14) from renovate/runner-tool-versions into main
release / meta (push) Successful in 2s
release / publish (26.10, ubuntu-26.10,ubuntu-latest) (push) Successful in 3m13s
release / publish (24.04, ubuntu-24.04) (push) Successful in 3m20s
release / publish (26.04, ubuntu-26.04) (push) Successful in 3m25s
release / tag (push) Successful in 3s
Reviewed-on: #14
2026-11-28 02:53:56 +03:00
renovate Bot 60444a7903 chore(deps): update dependency cli/cli to v2.106.0
renovate/stability-days Updates have met minimum release age requirement
build / build (26.10) (pull_request) Successful in 3m37s
build / build (24.04) (pull_request) Successful in 3m45s
build / build (26.04) (pull_request) Successful in 3m51s
2026-11-27 23:45:58 +00:00
fristy 6d928cc87a Merge pull request 'chore(deps): update dependency pnpm to v12.23.0' (#13) from renovate/runner-tool-versions into main
release / meta (push) Successful in 2s
release / publish (26.04, ubuntu-26.04) (push) Successful in 9m38s
release / publish (26.10, ubuntu-26.10,ubuntu-latest) (push) Successful in 10m46s
release / publish (24.04, ubuntu-24.04) (push) Successful in 12m43s
release / tag (push) Successful in 3s
Reviewed-on: #13
2026-11-24 17:36:08 +03:00
renovate Bot a704723a89 chore(deps): update dependency pnpm to v12.23.0
renovate/stability-days Updates have met minimum release age requirement
build / build (24.04) (pull_request) Successful in 9m48s
build / build (26.10) (pull_request) Successful in 8m11s
build / build (26.04) (pull_request) Successful in 14m47s
2026-11-24 14:21:16 +00:00
fristy d016ea2cf4 Merge pull request 'chore(deps): update dependency pnpm to v12.22.0' (#12) from renovate/runner-tool-versions into main
release / meta (push) Successful in 2s
release / publish (26.10, ubuntu-26.10,ubuntu-latest) (push) Successful in 3m12s
release / publish (24.04, ubuntu-24.04) (push) Successful in 3m18s
release / tag (push) Successful in 3s
release / publish (26.04, ubuntu-26.04) (push) Successful in 3m22s
Reviewed-on: #12
2026-11-23 18:01:57 +03:00
renovate Bot 60719af7b5 chore(deps): update dependency pnpm to v12.22.0
build / build (26.10) (pull_request) Successful in 3m5s
build / build (26.04) (pull_request) Successful in 3m12s
build / build (24.04) (pull_request) Successful in 3m16s
renovate/stability-days Updates have met minimum release age requirement
2026-11-23 14:23:16 +00:00
3 changed files with 33 additions and 2 deletions

No files matched your search

+9
View File
@@ -21,6 +21,8 @@ jobs:
base: ["26.10", "26.04", "24.04"] base: ["26.10", "26.04", "24.04"]
env: env:
IMAGE: runner-images-test:${{ github.run_id }}-${{ matrix.base }} IMAGE: runner-images-test:${{ github.run_id }}-${{ matrix.base }}
REGISTRY: git.fristy.net
CACHE: git.fristy.net/actions/runner-images:buildcache-${{ matrix.base }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v7 uses: actions/checkout@v7
@@ -28,6 +30,12 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4 uses: docker/setup-buildx-action@v4
- name: Log in to the registry (build cache)
run: |
token="${{ secrets.REGISTRY_TOKEN }}"
[ -n "$token" ] || { echo "REGISTRY_TOKEN secret is missing" >&2; exit 1; }
echo "$token" | docker login "${{ env.REGISTRY }}" -u "${{ secrets.REGISTRY_USERNAME || github.actor }}" --password-stdin
- name: Build ${{ matrix.base }} amd64 - name: Build ${{ matrix.base }} amd64
uses: docker/build-push-action@v7 uses: docker/build-push-action@v7
with: with:
@@ -37,6 +45,7 @@ jobs:
pull: true pull: true
push: false push: false
load: true load: true
cache-from: type=registry,ref=${{ env.CACHE }}
build-args: | build-args: |
BASE_IMAGE_TAG=${{ matrix.base }} BASE_IMAGE_TAG=${{ matrix.base }}
tags: ${{ env.IMAGE }} tags: ${{ env.IMAGE }}
+16
View File
@@ -5,6 +5,22 @@ All notable changes to this project are documented in this file.
The format is based on [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/), The format is based on [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Fixed
- Builds no longer fail when a GitHub release asset answers with HTTP 618
(`jwt:expired`). `curl` is wrapped in `/usr/local/bin` with
`--retry 5 --retry-all-errors` and a `Cache-Control: no-cache` request header,
so the Dockerfile's own downloads and installer scripts such as
`cargo-zigbuild-installer.sh` retry instead of killing the layer.
### Changed
- `build.yaml` reads the `buildcache-<base>` registry cache that `release.yaml`
writes on every `main` build, so a pull request reuses the tool layers instead
of downloading them again. The pull request still publishes nothing.
## [1.0.1] - 2026-11-20 ## [1.0.1] - 2026-11-20
### Fixed ### Fixed
+8 -2
View File
@@ -12,7 +12,7 @@ ARG NODE_VERSION=26.13.1
# renovate: datasource=npm depName=npm # renovate: datasource=npm depName=npm
ARG NPM_VERSION=12.2.3 ARG NPM_VERSION=12.2.3
# renovate: datasource=npm depName=pnpm # renovate: datasource=npm depName=pnpm
ARG PNPM_VERSION=12.21.0 ARG PNPM_VERSION=12.24.0
# renovate: datasource=npm depName=corepack # renovate: datasource=npm depName=corepack
ARG COREPACK_VERSION=0.36.0 ARG COREPACK_VERSION=0.36.0
# renovate: datasource=github-releases depName=mikefarah/yq # renovate: datasource=github-releases depName=mikefarah/yq
@@ -22,7 +22,7 @@ ARG TEA_VERSION=0.16.0
# renovate: datasource=golang-version depName=golang # renovate: datasource=golang-version depName=golang
ARG GO_VERSION=1.27.4 ARG GO_VERSION=1.27.4
# renovate: datasource=github-releases depName=cli/cli # renovate: datasource=github-releases depName=cli/cli
ARG GH_VERSION=2.105.0 ARG GH_VERSION=2.106.0
# renovate: datasource=github-releases depName=aquasecurity/trivy # renovate: datasource=github-releases depName=aquasecurity/trivy
ARG TRIVY_VERSION=0.76.2 ARG TRIVY_VERSION=0.76.2
# renovate: datasource=github-releases depName=goreleaser/nfpm # renovate: datasource=github-releases depName=goreleaser/nfpm
@@ -49,6 +49,12 @@ ENV DEBIAN_FRONTEND=noninteractive \
SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"]
RUN printf '%s\n' \
'#!/bin/sh' \
'exec /usr/bin/curl --retry 5 --retry-all-errors --retry-delay 2 -H "Cache-Control: no-cache" "$@"' \
> /usr/local/bin/curl \
&& chmod 0755 /usr/local/bin/curl
RUN case "${TARGETARCH}" in \ RUN case "${TARGETARCH}" in \
amd64) arch=x86_64; goarch=amd64; node_arch=x64; gh_arch=amd64; trivy_arch=64bit; zig_arch=x86_64 ;; \ amd64) arch=x86_64; goarch=amd64; node_arch=x64; gh_arch=amd64; trivy_arch=64bit; zig_arch=x86_64 ;; \
arm64) arch=aarch64; goarch=arm64; node_arch=arm64; gh_arch=arm64; trivy_arch=ARM64; zig_arch=aarch64 ;; \ arm64) arch=aarch64; goarch=arm64; node_arch=arm64; gh_arch=arm64; trivy_arch=ARM64; zig_arch=aarch64 ;; \