ci: fix Go job — golang:1.23-trixie does not exist on Docker Hub, use golang:1.23-alpine3.21 (git 2.47+, sha256-capable)
This commit is contained in:
parent
eeaceb07ed
commit
e3698de492
1 changed files with 5 additions and 5 deletions
|
|
@ -118,13 +118,13 @@ jobs:
|
||||||
name: Go (vet + test)
|
name: Go (vet + test)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: golang:1.23-trixie
|
# Alpine image: git 2.45+, speaks sha256 wire protocol; small footprint.
|
||||||
|
image: golang:1.23-alpine3.21
|
||||||
steps:
|
steps:
|
||||||
- name: Install git + curl in container
|
- name: Install git + bash in container
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -eu
|
||||||
apt-get update
|
apk add --no-cache git bash ca-certificates
|
||||||
apt-get install -y --no-install-recommends git curl ca-certificates
|
|
||||||
git --version
|
git --version
|
||||||
go version
|
go version
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue