wip ci/cd
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 49s

This commit is contained in:
2026-03-07 19:10:32 +03:00
parent f9c32c3e15
commit 1cee55a0cf
3 changed files with 12 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
# Hello world
```shell
FROM golang:tip-trixie AS builder
FROM golang:1.25 AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
@@ -12,6 +12,7 @@ RUN CGO_ENABLED=0 go build -o main ./cmd/main.go
FROM alpine:latest
WORKDIR /app
COPY --from=builder /app/main .
COPY --from=builder /app/config .
EXPOSE 3000
CMD ["./main"]
```