File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 4040 run : |
4141 earthly +xesite
4242 earthly +patreon-saasproxy
43+
4344 deploy-patreon :
4445 name : " Deploy patreon-saasproxy"
4546 needs : build
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ FROM alpine:edge
33WORKDIR /app
44
55deps :
6- FROM golang:1.22-alpine
7- WORKDIR /app
6+ FROM golang:1.22-alpine
7+ WORKDIR /app
88
9- COPY go.mod go.sum ./
10- RUN go mod download
9+ COPY go.mod go.sum ./
10+ RUN go mod download
1111
12- SAVE ARTIFACT go.mod
12+ SAVE ARTIFACT go.mod
1313
1414fonts :
1515 FROM alpine:edge
@@ -52,12 +52,12 @@ patreon-saasproxy:
5252 SAVE IMAGE --push ghcr.io/xe/site/patreon:latest
5353
5454build-xesite :
55- FROM +deps
56- COPY . .
55+ FROM +deps
56+ COPY . .
5757
58- RUN --mount = type= cache,target= /root/.cache CGO_ENABLED= 0 go build -gcflags "all=-N -l" -o xesite ./cmd/xesite
58+ RUN --mount = type= cache,target= /root/.cache CGO_ENABLED= 0 go build -gcflags "all=-N -l" -o xesite ./cmd/xesite
5959
60- SAVE ARTIFACT xesite
60+ SAVE ARTIFACT xesite
6161
6262xesite :
6363 FROM alpine:edge
You can’t perform that action at this time.
0 commit comments