aboutsummaryrefslogtreecommitdiff
path: root/Earthfile
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-06-21 09:42:46 -0400
committerXe Iaso <me@xeiaso.net>2024-06-21 09:42:46 -0400
commit170782b091c96f16cf371a09001d3035b06e155f (patch)
tree766e7afb7ce2f98ae1f848b0f68f0b72cdee213b /Earthfile
parent62e54bdd8144c9b47dff11dffd6387185db26743 (diff)
downloadxesite-170782b091c96f16cf371a09001d3035b06e155f.tar.xz
xesite-170782b091c96f16cf371a09001d3035b06e155f.zip
Earthfile: fix indentation
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'Earthfile')
-rw-r--r--Earthfile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Earthfile b/Earthfile
index b0d7490..7b60444 100644
--- a/Earthfile
+++ b/Earthfile
@@ -3,13 +3,13 @@ FROM alpine:edge
WORKDIR /app
deps:
- FROM golang:1.22-alpine
- WORKDIR /app
+ FROM golang:1.22-alpine
+ WORKDIR /app
- COPY go.mod go.sum ./
- RUN go mod download
+ COPY go.mod go.sum ./
+ RUN go mod download
- SAVE ARTIFACT go.mod
+ SAVE ARTIFACT go.mod
fonts:
FROM alpine:edge
@@ -52,12 +52,12 @@ patreon-saasproxy:
SAVE IMAGE --push ghcr.io/xe/site/patreon:latest
build-xesite:
- FROM +deps
- COPY . .
+ FROM +deps
+ COPY . .
- RUN --mount=type=cache,target=/root/.cache CGO_ENABLED=0 go build -gcflags "all=-N -l" -o xesite ./cmd/xesite
+ RUN --mount=type=cache,target=/root/.cache CGO_ENABLED=0 go build -gcflags "all=-N -l" -o xesite ./cmd/xesite
- SAVE ARTIFACT xesite
+ SAVE ARTIFACT xesite
xesite:
FROM alpine:edge