Skip to content

Commit

Permalink
fix(Earthfile): ensure proper artifact saving path
Browse files Browse the repository at this point in the history
Update Earthfile to correctly save artifacts with './*' instead of '*'.

chore: add .earthlyignore file

Add .earthlyignore to ignore temporary earthly output files.
  • Loading branch information
flemzord committed Sep 20, 2024
1 parent 0be3374 commit e5b0e35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .earthlyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.tmp-earthly-out
4 changes: 2 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ lint:
WORKDIR /src
COPY --dir (+tidy/src/*) /src
DO --pass-args core+GO_LINT
SAVE ARTIFACT * AS LOCAL ./
SAVE ARTIFACT ./* AS LOCAL ./

tests:
FROM core+builder-image
Expand All @@ -45,4 +45,4 @@ generate:
WORKDIR /src
COPY --dir (+tidy/src/*) /src
DO --pass-args core+GO_GENERATE
SAVE ARTIFACT * AS LOCAL ./
SAVE ARTIFACT ./* AS LOCAL ./

0 comments on commit e5b0e35

Please sign in to comment.