Skip to content

Commit 170782b

Browse files
committed
Earthfile: fix indentation
Signed-off-by: Xe Iaso <[email protected]>
1 parent 62e54bd commit 170782b

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.github/workflows/earthly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
run: |
4141
earthly +xesite
4242
earthly +patreon-saasproxy
43+
4344
deploy-patreon:
4445
name: "Deploy patreon-saasproxy"
4546
needs: build

Earthfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ FROM alpine:edge
33
WORKDIR /app
44

55
deps:
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

1414
fonts:
1515
FROM alpine:edge
@@ -52,12 +52,12 @@ patreon-saasproxy:
5252
SAVE IMAGE --push ghcr.io/xe/site/patreon:latest
5353

5454
build-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

6262
xesite:
6363
FROM alpine:edge

0 commit comments

Comments
 (0)