diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-06-21 09:42:46 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-06-21 09:42:46 -0400 |
| commit | 170782b091c96f16cf371a09001d3035b06e155f (patch) | |
| tree | 766e7afb7ce2f98ae1f848b0f68f0b72cdee213b /Earthfile | |
| parent | 62e54bdd8144c9b47dff11dffd6387185db26743 (diff) | |
| download | xesite-170782b091c96f16cf371a09001d3035b06e155f.tar.xz xesite-170782b091c96f16cf371a09001d3035b06e155f.zip | |
Earthfile: fix indentation
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'Earthfile')
| -rw-r--r-- | Earthfile | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 |
