mirror of
https://github.com/kairos-io/packages.git
synced 2025-09-18 16:28:38 +00:00
Bump github action for luet (#1283)
This commit is contained in:
24
.github/workflows/build-arm64.yaml
vendored
24
.github/workflows/build-arm64.yaml
vendored
@@ -8,34 +8,24 @@ on:
|
||||
- main
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ARM64
|
||||
env:
|
||||
ARCH: amd64
|
||||
runs-on: ubuntu-24.04-arm
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
git fetch --prune --unshallow
|
||||
mkdir build
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@master
|
||||
with:
|
||||
platforms: all
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@master
|
||||
fetch-depth: 0
|
||||
- name: Download meta 🔧
|
||||
uses: luet-lab/luet-github-action@v0.3.0
|
||||
uses: luet-lab/luet-github-action@v0.3.1
|
||||
with:
|
||||
FINAL_REPO: quay.io/kairos/packages-arm64
|
||||
REPOSITORY_TYPE: docker
|
||||
downloadAllMeta: true
|
||||
downloadFromList: false
|
||||
downloadMeta: true
|
||||
luetArch: arm64
|
||||
# renovate: datasource=github-releases depName=mudler/luet
|
||||
luetVersion: 0.36.0
|
||||
luetArch: arm64
|
||||
- name: Build packages 🔧
|
||||
uses: luet-lab/luet-github-action@v0.3.0
|
||||
uses: luet-lab/luet-github-action@v0.3.1
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||
with:
|
||||
build: true
|
||||
@@ -51,10 +41,11 @@ jobs:
|
||||
values: values/arm64.yaml
|
||||
buildx: true
|
||||
platform: linux/arm64
|
||||
luetArch: arm64
|
||||
# renovate: datasource=github-releases depName=mudler/luet
|
||||
luetVersion: 0.36.0
|
||||
- name: Create repo 🔧
|
||||
uses: luet-lab/luet-github-action@v0.3.0
|
||||
uses: luet-lab/luet-github-action@v0.3.1
|
||||
id: create_repo
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||
with:
|
||||
@@ -66,6 +57,7 @@ jobs:
|
||||
createRepo: true
|
||||
pushCache: true
|
||||
revisionSHA: true
|
||||
luetArch: arm64
|
||||
# renovate: datasource=github-releases depName=mudler/luet
|
||||
luetVersion: 0.36.0
|
||||
- name: Summary info
|
||||
|
43
.github/workflows/build.yaml
vendored
43
.github/workflows/build.yaml
vendored
@@ -9,45 +9,10 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: fast
|
||||
env:
|
||||
ARCH: amd64
|
||||
steps:
|
||||
- name: Release space from worker
|
||||
run: |
|
||||
echo "Listing top largest packages"
|
||||
pkgs=$(dpkg-query -Wf '${Installed-Size}\t${Package}\t${Status}\n' | awk '$NF == "installed"{print $1 "\t" $2}' | sort -nr)
|
||||
head -n 30 <<< "${pkgs}"
|
||||
echo
|
||||
df -h
|
||||
echo
|
||||
sudo apt-get remove -y '^llvm-.*|^libllvm.*' || true
|
||||
sudo apt-get remove --auto-remove android-sdk-platform-tools || true
|
||||
sudo apt-get purge --auto-remove android-sdk-platform-tools || true
|
||||
sudo rm -rf /usr/local/lib/android
|
||||
sudo apt-get remove -y '^dotnet-.*|^aspnetcore-.*' || true
|
||||
sudo rm -rf /usr/share/dotnet
|
||||
sudo apt-get remove -y '^mono-.*' || true
|
||||
sudo apt-get remove -y '^ghc-.*' || true
|
||||
sudo apt-get remove -y '.*jdk.*|.*jre.*' || true
|
||||
sudo apt-get remove -y 'php.*' || true
|
||||
sudo apt-get remove -y hhvm powershell firefox monodoc-manual msbuild || true
|
||||
sudo apt-get remove -y '^google-.*' || true
|
||||
sudo apt-get remove -y azure-cli || true
|
||||
sudo apt-get remove -y '^mongo.*-.*|^postgresql-.*|^mysql-.*|^mssql-.*' || true
|
||||
sudo apt-get remove -y '^gfortran-.*' || true
|
||||
sudo apt-get autoremove -y
|
||||
sudo apt-get clean
|
||||
echo
|
||||
echo "Listing top largest packages"
|
||||
pkgs=$(dpkg-query -Wf '${Installed-Size}\t${Package}\t${Status}\n' | awk '$NF == "installed"{print $1 "\t" $2}' | sort -nr)
|
||||
head -n 30 <<< "${pkgs}"
|
||||
echo
|
||||
sudo rm -rfv build || true
|
||||
df -h
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
git fetch --prune --unshallow
|
||||
mkdir build
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Download meta 🔧
|
||||
uses: luet-lab/luet-github-action@v0.3.0
|
||||
with:
|
||||
@@ -59,7 +24,7 @@ jobs:
|
||||
# renovate: datasource=github-releases depName=mudler/luet
|
||||
luetVersion: 0.36.0
|
||||
- name: Build packages 🔧
|
||||
uses: luet-lab/luet-github-action@v0.3.0
|
||||
uses: luet-lab/luet-github-action@v0.3.1
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||
with:
|
||||
build: true
|
||||
@@ -76,7 +41,7 @@ jobs:
|
||||
# renovate: datasource=github-releases depName=mudler/luet
|
||||
luetVersion: 0.36.0
|
||||
- name: Create repo 🔧
|
||||
uses: luet-lab/luet-github-action@v0.3.0
|
||||
uses: luet-lab/luet-github-action@v0.3.1
|
||||
id: create_repo
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||
with:
|
||||
|
35
.github/workflows/pr.yaml
vendored
35
.github/workflows/pr.yaml
vendored
@@ -30,21 +30,13 @@ jobs:
|
||||
go run main.go $PKG_ALL_CHANGED_FILES
|
||||
|
||||
build-arm64:
|
||||
runs-on: ARM64
|
||||
env:
|
||||
ARCH: amd64
|
||||
runs-on: ubuntu-24.04-arm
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
git fetch --prune --unshallow
|
||||
mkdir build
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3.4.0
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3.8.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Build packages 🔧
|
||||
uses: luet-lab/luet-github-action@v0.3.0
|
||||
uses: luet-lab/luet-github-action@v0.3.1
|
||||
with:
|
||||
build: true
|
||||
fromIndex: true
|
||||
@@ -59,28 +51,15 @@ jobs:
|
||||
platform: linux/arm64
|
||||
# renovate: datasource=github-releases depName=mudler/luet
|
||||
luetVersion: 0.36.0
|
||||
|
||||
luetArch: arm64
|
||||
build:
|
||||
runs-on: fast
|
||||
env:
|
||||
ARCH: amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
git fetch --prune --unshallow
|
||||
mkdir build
|
||||
- name: Download meta 🔧
|
||||
uses: luet-lab/luet-github-action@v0.3.0
|
||||
with:
|
||||
FINAL_REPO: quay.io/kairos/packages
|
||||
REPOSITORY_TYPE: docker
|
||||
downloadAllMeta: false
|
||||
downloadFromList: true
|
||||
downloadMeta: true
|
||||
# renovate: datasource=github-releases depName=mudler/luet
|
||||
luetVersion: 0.36.0
|
||||
fetch-depth: 0
|
||||
- name: Build packages 🔧
|
||||
uses: luet-lab/luet-github-action@v0.3.0
|
||||
uses: luet-lab/luet-github-action@v0.3.1
|
||||
with:
|
||||
build: true
|
||||
fromIndex: true
|
||||
|
Reference in New Issue
Block a user