mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-19 18:16:38 +08:00
ci: downgrade Go version to 1.24.0 in CI workflow and Dockerfile
This commit is contained in:
parent
e2a6c1f37a
commit
3f9f15675d
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user