Skip to content

Commit

Permalink
Fix download path for ipxe (#1986)
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
  • Loading branch information
mauromorales authored Nov 6, 2023
1 parent 41c7c56 commit 6c4f7b1
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 @@ -743,6 +743,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 6c4f7b1

Please sign in to comment.