Skip to content

Commit

Permalink
Remove default MODEL that doesn't work
Browse files Browse the repository at this point in the history
because the top level default always wins (Earthly...)

and downgrade osbuilder because it breaks arm builds. This should fix it:

kairos-io/osbuilder#80

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
  • Loading branch information
jimmykarily committed Aug 2, 2023
1 parent 5607ded commit 2d1d76b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ jobs:
run: |
export TAG=${GITHUB_REF##*/}
# TODO: Build all arm generic too!!
./earthly.sh +all-arm -VARIANT=kairos -PROVIDER_KAIROS=true -K3S_VERSION=${{ matrix.k3s_version }} -FLAVOR=${{ matrix.flavor }}
# TODO: Build all arm generic too!! (and other models?)
earthly +all-arm -VARIANT=standard -MODEL=rpi64 -PROVIDER_KAIROS=true -K3S_VERSION=${{ matrix.k3s_version }} -FLAVOR=${{ matrix.flavor }}
- name: Selfhosted Build 🔧
if: ${{ matrix.worker == 'self-hosted' }}
env:
Expand Down
3 changes: 2 additions & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ base-image:
ARG PROVIDER_KAIROS
ARG PROVIDER_KAIROS_BRANCH
ARG K3S_VERSION
# TODO: Use VARIANT=standard instead?
IF [[ "$PROVIDER_KAIROS" != "" ]]
DO +PROVIDER_INSTALL -PROVIDER_KAIROS_BRANCH=${PROVIDER_KAIROS_BRANCH}

Expand Down Expand Up @@ -631,7 +632,7 @@ arm-image:
ARG COMPRESS_IMG=true
ARG IMG_COMPRESSION=xz
FROM $OSBUILDER_IMAGE
ARG MODEL=rpi64
ARG MODEL
COPY +version/VERSION ./
RUN echo "version ${VERSION}"
ARG VERSION=$(cat VERSION)
Expand Down

0 comments on commit 2d1d76b

Please sign in to comment.