Merge pull request 'chore: add go.sum and fix Dockerfile build (#203, #180)' (#209) from chore/add-go-sum-203 into master
Build and Push / test (push) Successful in 1m40s
Build and Push / build (push) Failing after 14s

This commit was merged in pull request #209.
This commit is contained in:
2026-04-20 17:05:34 +00:00
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# Stage 1: Build # Stage 1: Build
FROM golang:1.22-alpine AS builder FROM golang:1.22-alpine AS builder
WORKDIR /app WORKDIR /app
COPY go.mod ./ COPY go.mod go.sum ./
RUN go mod download RUN go mod download
COPY . . COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o /gitea-mobile ./cmd/server RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o /gitea-mobile ./cmd/server
View File