Update go.mod dependencies and fix deployment target port
This commit is contained in:
parent
a8a48a8436
commit
1aacea06c6
12
go.mod
12
go.mod
@ -6,19 +6,22 @@ toolchain go1.23.4
|
||||
|
||||
require github.com/labstack/echo/v4 v4.13.4
|
||||
|
||||
require google.golang.org/protobuf v1.36.6
|
||||
require (
|
||||
github.com/google/uuid v1.6.0
|
||||
github.com/labstack/gommon v0.4.2
|
||||
golang.org/x/crypto v0.38.0
|
||||
google.golang.org/protobuf v1.36.6
|
||||
modernc.org/sqlite v1.37.1
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/dustin/go-humanize v1.0.1 // indirect
|
||||
github.com/google/uuid v1.6.0 // indirect
|
||||
github.com/labstack/gommon v0.4.2 // indirect
|
||||
github.com/mattn/go-colorable v0.1.14 // indirect
|
||||
github.com/mattn/go-isatty v0.0.20 // indirect
|
||||
github.com/ncruces/go-strftime v0.1.9 // indirect
|
||||
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
||||
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
||||
github.com/valyala/fasttemplate v1.2.2 // indirect
|
||||
golang.org/x/crypto v0.38.0 // indirect
|
||||
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0 // indirect
|
||||
golang.org/x/net v0.40.0 // indirect
|
||||
golang.org/x/sys v0.33.0 // indirect
|
||||
@ -27,5 +30,4 @@ require (
|
||||
modernc.org/libc v1.65.7 // indirect
|
||||
modernc.org/mathutil v1.7.1 // indirect
|
||||
modernc.org/memory v1.11.0 // indirect
|
||||
modernc.org/sqlite v1.37.1 // indirect
|
||||
)
|
||||
|
||||
@ -84,7 +84,7 @@ spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 60004
|
||||
targetPort: 80
|
||||
targetPort: 8080
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
|
||||
@ -19,19 +19,20 @@ docker buildx create --name multiarch-builder --use || true
|
||||
docker buildx inspect --bootstrap
|
||||
|
||||
# Build and push the static image for multiple architectures
|
||||
#docker buildx build --platform linux/amd64,linux/arm64 \
|
||||
# -t ${REGISTRY}/static:${IMAGE_ID} \
|
||||
# -t ${REGISTRY}/static:latest \
|
||||
# -f docker/Dockerfile.static \
|
||||
# --push \
|
||||
# .
|
||||
docker buildx build --platform linux/arm64 \
|
||||
docker buildx build --platform linux/amd64,linux/arm64 \
|
||||
-t ${REGISTRY}/static:${IMAGE_ID} \
|
||||
-t ${REGISTRY}/static:latest \
|
||||
-f docker/Dockerfile.static \
|
||||
--push \
|
||||
.
|
||||
|
||||
#docker buildx build --platform linux/arm64 \
|
||||
# -t ${REGISTRY}/static:${IMAGE_ID} \
|
||||
# -t ${REGISTRY}/static:latest \
|
||||
# -f docker/Dockerfile.static \
|
||||
# --push \
|
||||
# .
|
||||
|
||||
# Build and push the API image for multiple architectures
|
||||
echo "Building and pushing API image..."
|
||||
docker buildx build --platform linux/amd64,linux/arm64 \
|
||||
|
||||
0
scripts/deploy.sh
Normal file → Executable file
0
scripts/deploy.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user