Skip to content

Commit 902756b

Browse files
committed
fix: wrong go version
1 parent 3d415dc commit 902756b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Earthfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
VERSION 0.8
22

3-
IMPORT github.com/formancehq/earthly:tags/v0.16.2 AS core
3+
IMPORT github.com/formancehq/earthly:tags/v0.19.1 AS core
44

55
FROM core+base-image
66

7+
CACHE --sharing=shared --id go-auth-cache /go/pkg/mod
8+
CACHE --sharing=shared --id go-auth-cache /root/.cache/go-build
9+
710
sources:
811
WORKDIR /src
912
COPY go.* .
@@ -14,6 +17,9 @@ sources:
1417
compile:
1518
FROM core+builder-image
1619
COPY (+sources/*) /src
20+
21+
CACHE --id go-auth-cache /go/pkg/mod
22+
CACHE --id go-auth-cache /root/.cache/go-build
1723
WORKDIR /src
1824
ARG VERSION=latest
1925
DO --pass-args core+GO_COMPILE --VERSION=$VERSION

0 commit comments

Comments
 (0)