Skip to content

Commit

Permalink
Only save artifacts when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
kreeuwijk committed May 6, 2024
1 parent f8bf35b commit 479c339
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,12 @@ uki-genkey:
ELSE
COPY +uki-byok/ /keys
END

SAVE ARTIFACT --if-exists /keys AS LOCAL ./secure-boot/enrollment
SAVE ARTIFACT --if-exists /private-keys AS LOCAL ./secure-boot/private-keys
SAVE ARTIFACT --if-exists /public-keys AS LOCAL ./secure-boot/public-keys
IF [ "$UKI_BRING_YOUR_OWN_KEYS" = "false" ]
SAVE ARTIFACT --if-exists /private-keys AS LOCAL ./secure-boot/private-keys
SAVE ARTIFACT --if-exists /public-keys AS LOCAL ./secure-boot/public-keys
END

download-sbctl:
DO +BASE_ALPINE
Expand Down

0 comments on commit 479c339

Please sign in to comment.