Skip to content

Commit

Permalink
chore: update Earthfile to use earthly v0.16.3
Browse files Browse the repository at this point in the history
Update the Earthfile to import earthly version 0.16.3.
Modify sources stage to copy go.mod and go.sum, and run
"go mod download" command.
  • Loading branch information
flemzord committed Sep 26, 2024
1 parent 92d7989 commit 8f4ca6c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
VERSION 0.8

IMPORT github.com/formancehq/earthly:main AS core
#IMPORT github.com/formancehq/earthly:tags/v0.16.2 AS core
IMPORT github.com/formancehq/earthly:tags/v0.16.3 AS core

FROM core+base-image

sources:
FROM core+builder-image
WORKDIR /src
COPY go.* .
COPY go.mod go.sum ./
RUN go mod download
COPY --dir pkg cmd .
COPY main.go .
SAVE ARTIFACT /src
Expand Down

0 comments on commit 8f4ca6c

Please sign in to comment.