ci: downgrade Go version to 1.24.0 in CI workflow and Dockerfile

This commit is contained in:
Laisky.Cai 2025-02-28 03:51:55 +00:00
parent e2a6c1f37a
commit 3f9f15675d
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: "1.24.1" go-version: "1.24.0"
- name: Add SHORT_SHA env property with commit short sha - name: Add SHORT_SHA env property with commit short sha
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-7`" >> $GITHUB_ENV run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-7`" >> $GITHUB_ENV

View File

@ -19,7 +19,7 @@ RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat ./VERSION) npm run buil
DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat ./VERSION) npm run build --prefix /web/air & \ DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat ./VERSION) npm run build --prefix /web/air & \
wait wait
FROM golang:1.24.1-bullseye AS builder2 FROM golang:1.24.0-bullseye AS builder2
# Make sure to use ARG with a default value # Make sure to use ARG with a default value
ARG TARGETARCH=amd64 ARG TARGETARCH=amd64