Skip to content

Commit e5b0e35

Browse files
committed
fix(Earthfile): ensure proper artifact saving path
Update Earthfile to correctly save artifacts with './*' instead of '*'. chore: add .earthlyignore file Add .earthlyignore to ignore temporary earthly output files.
1 parent 0be3374 commit e5b0e35

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.earthlyignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.tmp-earthly-out

Earthfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ lint:
2222
WORKDIR /src
2323
COPY --dir (+tidy/src/*) /src
2424
DO --pass-args core+GO_LINT
25-
SAVE ARTIFACT * AS LOCAL ./
25+
SAVE ARTIFACT ./* AS LOCAL ./
2626

2727
tests:
2828
FROM core+builder-image
@@ -45,4 +45,4 @@ generate:
4545
WORKDIR /src
4646
COPY --dir (+tidy/src/*) /src
4747
DO --pass-args core+GO_GENERATE
48-
SAVE ARTIFACT * AS LOCAL ./
48+
SAVE ARTIFACT ./* AS LOCAL ./

0 commit comments

Comments
 (0)