Skip to content

Commit

Permalink
Fix download path for ipxe
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
  • Loading branch information
mauromorales committed Nov 6, 2023
1 parent b4821a3 commit 94109af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,10 @@ netboot:

COPY +version/VERSION ./
RUN echo "version ${VERSION}"
# For ipxe.tmpl to be able to substitute. It's called version but it references the release tag, this is why we need
# to remove the -k3s version
ARG VERSION=$(cat VERSION | sed 's/-k3s.*//')
# For naming.sh we need the complete version including the K3S version in order to build the artifact names
ARG KAIROS_VERSION=$(cat VERSION)

ARG TARGETARCH # Earthly built-in (not passed)
Expand Down

0 comments on commit 94109af

Please sign in to comment.