Skip to content

v0.7.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@littleredcorvette littleredcorvette released this 12 Apr 17:53
18656a2

NOTE: v0.7.3 was not fully released, e.g. there is no satellite support, use v0.7.4 instead.

Added

  • A host of changes to variables under the --arg-scope-and-set feature flag:
    • Redeclaring an ARG in the same scope as a previous declaration is now an error.
    • ARGs inside of targets will no longer have their default value overridden by global ARGs.
    • A new command, LET, is available for declaring non-argument variables.
      • LET takes precedence over ARG, just like ARG takes precedence over ARG --global.
    • A new command, SET, is available for changing the value of variables declared with LET.
  • Introduced --size and --age flags to the prune command, to allow better control.

Changed

  • Updated buildkit with changes up to 3187d2d056de7e3f976ef62cd548499dc3472a7e.
  • The VERSION --git-branch feature flag has been removed (EARTHLY_GIT_BRANCH was always available in the previous version).
  • Improved earthly API connection timeout logic.
  • earthly doc now includes ARGs in both summary and detail output, and ARTIFACTs and IMAGEs in its detail output.

Fixed

  • Fixed Could not detect digest for image warnings for when using WITH DOCKER --load which referenced an earthly target that
    included a FROM referencing an image following the docker.io/<user>/<img> naming scheme (rather than the docker.io/library/<user>/<img> scheme).
  • Fixed COPY --if-exists to work with earthly targets. #2541
  • Intentional-indentation of comments is no longer removed by the doc command. #2747
  • SAVE ARTIFACT ... AS LOCAL ... could not write to non-current directories upon failure of a TRY/FINALLY block. #2800