Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 093d734199 | |||
| 7b69054815 | |||
| 784e3fd40c |
@@ -25,9 +25,9 @@ jobs:
|
|||||||
# no-fail: true
|
# no-fail: true
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v6.1.0
|
uses: actions/setup-go@v6.2.0
|
||||||
with:
|
with:
|
||||||
go-version: "1.23"
|
go-version: "1.25"
|
||||||
|
|
||||||
# - name: uv cache
|
# - name: uv cache
|
||||||
# uses: actions/cache@v5
|
# uses: actions/cache@v5
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
FROM golang:1.23-alpine as build
|
FROM golang:1.25-alpine as build
|
||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
COPY . /go/src/app
|
COPY . /go/src/app
|
||||||
RUN CGO_ENABLED=0 go build -o /go/bin/app
|
RUN CGO_ENABLED=0 go build -o /go/bin/app
|
||||||
|
|
||||||
FROM gcr.io/distroless/base-debian13
|
FROM gcr.io/distroless/base-debian13
|
||||||
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
||||||
LABEL org.opencontainers.image.source="https://gitlab.com/luketainton/insultgen"
|
LABEL org.opencontainers.image.source="https://git.tainton.uk/repos/insultgen"
|
||||||
COPY --from=build /go/bin/app /
|
COPY --from=build /go/bin/app /
|
||||||
CMD ["/app"]
|
CMD ["/app"]
|
||||||
|
|||||||
Reference in New Issue
Block a user