修复版本不一致的问题
Some checks failed
itom-platform auto build image / build (push) Failing after 47s

This commit is contained in:
kim.dev.6789
2026-01-15 15:58:00 +08:00
parent c4b4bf9297
commit 261f2db20a
3 changed files with 7 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ FROM golang:1.22-alpine AS builder
# Define the base directory for the application as an environment variable
ENV SERVER_DIR=/openim-server
ENV GOWORK=off
# Set the working directory inside the container based on the environment variable
WORKDIR $SERVER_DIR

2
go.mod
View File

@@ -24,8 +24,6 @@ require (
gopkg.in/yaml.v3 v3.0.1
)
replace git.imall.cloud/openim/protocol => ../protocol
require github.com/google/uuid v1.6.0
require (

6
go.work Normal file
View File

@@ -0,0 +1,6 @@
go 1.22.7
use (
.
../protocol
)