Add Gitea Actions image build and registry publication
Test and publish container images / images (push) Failing after 0s

Test Go packages in Docker, build and inspect three application images, then publish commit-specific tags. Document dedicated runner and package credentials, and provide an opt-in registry Compose overlay without automatic deployment.
This commit is contained in:
Anya Tokugawa committed 2026-09-27 15:00:42 +09:00
1 parent 68f7d7a571
commit 02883e404b
5 files changed
+344 -1

No files matched your search

+5 -1
View File
@@ -1,4 +1,4 @@
FROM golang:1.25-alpine
FROM golang:1.25-alpine AS source
WORKDIR /src
@@ -10,6 +10,10 @@ RUN go mod download
COPY . .
FROM source AS test
RUN go test ./...
FROM source AS runtime
RUN go build -o /pageswiki ./cmd/pageswiki
EXPOSE 8081