From dfbafd8ed3c0eb55f73ccae0467ff08d57ab39d7 Mon Sep 17 00:00:00 2001 From: k3nny Date: Thu, 11 Jun 2026 01:00:30 +0200 Subject: [PATCH] chore(build): use golang:1.26-alpine container instead of ubuntu-latest Switch from the full ubuntu runner image to golang:1.26-alpine via the container: directive. Go is pre-installed so actions/setup-go is dropped; curl, git, and jq are added with apk in the first step. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index b4ec64c..110ed9b 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -9,13 +9,14 @@ jobs: release: name: Build and publish release runs-on: ubuntu-latest + container: + image: golang:1.26-alpine steps: - - uses: actions/checkout@v4 + - name: Install tools + run: apk add --no-cache curl git jq - - uses: actions/setup-go@v5 - with: - go-version-file: go.mod + - uses: actions/checkout@v4 - name: Build Linux (amd64) env: