Skip to content

Commit

Permalink
Use one of our luet packages to install k3s
Browse files Browse the repository at this point in the history
Fixing this: #1797 (comment)

Signed-off-by: Dimitris Karakasilis <[email protected]>
  • Loading branch information
jimmykarily committed Sep 13, 2023
1 parent 328b877 commit 3400c7c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/reusable-build-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ jobs:
sudo iptables -I OUTPUT -d 169.254.169.254 -j DROP
- name: Build PR 🔧
run: |
earthly +ci --SECURITY_SCANS=false --IMAGE=ttl.sh/kairos-${{ inputs.flavor }}-${{ github.sha }}-provider:24h --FLAVOR=${{ inputs.flavor }} --VARIANT=standard -K3S_VERSION=latest
K3S_VERSION=$(sudo luet --config framework-profile.yaml search -o json k8s/k3s | jq '.packages | map(.version) | unique | last')
earthly +ci \
--SECURITY_SCANS=false \
--IMAGE=ttl.sh/kairos-${{ inputs.flavor }}-${{ github.sha }}-provider:24h \
--FLAVOR=${{ inputs.flavor }} \
--VARIANT=standard -K3S_VERSION=${K3S_VERSION}
sudo mv build/* .
sudo rm -rf build
- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 3400c7c

Please sign in to comment.