Compare commits

..

14 Commits

Author SHA1 Message Date
Igor
5bf78343b2 Update README.md 2025-11-12 18:03:23 +01:00
Igor
deda97a51d Update action.yml 2025-11-12 17:39:16 +01:00
Igor
bad9dcb434 Rename armbian_armbian_branch to armbian_branch 2025-09-29 11:16:34 +02:00
Igor
46ca8219cb Update action.yml 2025-09-29 08:42:43 +02:00
Igor Pecovnik
71f63c6141 Rename config 2025-09-29 07:25:42 +02:00
Igor
3aa10a8fc8 Update config-sdk-images.conf 2025-09-29 07:21:51 +02:00
Igor
789778471f Optimize runners architecture (#11) 2025-09-29 07:19:22 +02:00
Igor Pecovnik
cf0364684b Add firstboot config 2025-09-29 07:18:34 +02:00
Igor
b5f5e8c865 Use unique tag id for releases 2025-09-29 06:09:09 +02:00
Igor Pecovnik
03d0d16197 Use GH runners 2025-09-29 06:05:00 +02:00
Igor Pecovnik
7eaa2eba3d Bo back to main and drop parameter that is not needed 2025-09-29 06:03:29 +02:00
Igor
12c44c5d71 Make more images 2025-09-29 05:57:44 +02:00
Igor
5f3f5fd7f3 Update action.yml (#6)
* Update action.yml

* Update armbian/build action version to v25.08

* Update action.yml

* Add delete old releases action

* Switch do SDK branch to tune up
2025-09-29 05:35:30 +02:00
Igor
1101a2b0b3 Revise README structure and logo 2025-08-28 06:02:16 +02:00
6 changed files with 93 additions and 18 deletions

6
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

View File

@@ -15,7 +15,7 @@ jobs:
actions: write
steps:
# checkout this repository
- uses: actions/checkout@v4
- uses: actions/checkout@v5
# prevent GitHub from suspending cronjob
- uses: liskin/gh-workflow-keepalive@v1
@@ -24,24 +24,31 @@ jobs:
strategy:
fail-fast: false
matrix:
board: [uefi-x86]
os: ["noble"]
board: ["uefi-x86","uefi-arm64"]
os: ["noble","trixie"]
extension: [",image-output-qcow2",""]
include:
- board: uefi-x86
runner: ubuntu-24.04
- board: uefi-arm64
runner: ubuntu-22.04-arm
runs-on: ${{ matrix.runner }}
name: "${{ matrix.os }},${{ matrix.board }}${{ matrix.extension }}"
runs-on: ubuntu-latest
steps:
- uses: armbian/build@v23.11.2
- uses: armbian/build@main
with:
# mandatory
armbian_token: "${{ secrets.GITHUB_TOKEN }}" # GitHub installation access token
armbian_target: "armbian-images" # build configuration from userpatches
armbian_target: "armbian-sdk" # build configuration from userpatches
armbian_release: "${{ matrix.os }}" # userspace: jammy, bookworm, trixie, etc.
armbian_board: "${{ matrix.board }}" # board build target
# optional
armbian_branch: "main"
armbian_ui: "minimal"
armbian_extensions: "docker-ce,sdk${{ matrix.extension }}" # enable extensions
armbian_release_tittle: "Armbian SDK" # release tittle
armbian_release_tag: "${{ github.run_id }}"
armbian_release_body: "Virtual images for x86 and arm64" # release body
armbian_pgp_key: "${{ secrets.GPG_KEY1 }}" # key for signing
armbian_pgp_password: "${{ secrets.GPG_PASSPHRASE1 }}" # password for key

View File

@@ -0,0 +1,33 @@
name: Delete Old Releases
on:
schedule:
- cron: '0 3 * * *' # Daily at 03:00 UTC
workflow_dispatch: # Manual trigger
jobs:
clean_releases:
runs-on: ubuntu-latest
steps:
- name: Delete old releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Get all releases (handle pagination)
releases=$(gh api --paginate repos/${{ github.repository }}/releases)
# Process full releases
full_releases=$(echo "$releases" | jq -c '[.[] | select(.prerelease == false)] | sort_by(.created_at) | reverse')
full_to_delete=$(echo "$full_releases" | jq '.[3:] | .[].id')
for id in $full_to_delete; do
echo "Deleting old full release ID: $id"
gh api --method DELETE repos/${{ github.repository }}/releases/$id
done
# Process pre-releases
pre_releases=$(echo "$releases" | jq -c '[.[] | select(.prerelease == true)] | sort_by(.created_at) | reverse')
pre_to_delete=$(echo "$pre_releases" | jq '.[3:] | .[].id')
for id in $pre_to_delete; do
echo "Deleting old pre-release ID: $id"
gh api --method DELETE repos/${{ github.repository }}/releases/$id
done

View File

@@ -1,13 +1,7 @@
<p align="center">
<a href="#build-framework">
<img src="https://raw.githubusercontent.com/armbian/build/master/.github/armbian-logo.png" alt="Armbian logo" width="144">
</a>
<br>
<strong>Armbian SDK</strong><br>
<br>
<a href=https://github.com/armbian/sdk/releases/latest><img alt="GitHub Workflow Status" src="https://img.shields.io/github/v/release/armbian/sdk?label=Download&style=for-the-badge&logoColor=black"></a>
</p>
<h2 align="center">
<a href=#><img src="https://raw.githubusercontent.com/armbian/.github/master/profile/logosmall.png" alt="Armbian logo"></a>
<br><br>
</h2>
@@ -21,7 +15,7 @@
- [x] can be made daily / weekly
- [x] preinstalled Docker
- [ ] automated login into user `armbian`
- [x] automated login into user `armbian`
- [ ] pre-loaded with latest build script
- [ ] contains all kernel caches

View File

@@ -0,0 +1,18 @@
display_alert "Common settings for Armbian SDK OS images" "setting default values" "info"
declare -g VENDOR="Armbian"
declare -g VENDORCOLOR="5;100;115"
declare -g VENDORURL="https://www.armbian.com"
declare -g VENDORDOCS="https://docs.armbian.com"
declare -g VENDORSUPPORT="https://forum.armbian.com"
declare -g VENDORPRIVACY="https://www.armbian.com"
declare -g VENDORBUGS="https://www.armbian.com/bugs"
declare -g VENDORLOGO="armbian-logo"
declare -g MAINTAINERMAIL=info@armbian.com
declare -g MAINTAINER="Armbian Linux"
declare -g COMPRESS_OUTPUTIMAGE="no"
declare -g EXPERT="yes"
declare -g KERNEL_BTF="yes"
declare -g COMPRESS_OUTPUTIMAGE="sha,img,xz"
declare -g IMAGE_XZ_COMPRESSION_RATIO=8
declare -g DONT_BUILD_ARTIFACTS="kernel,firmware,full_firmware,fake_ubuntu_advantage_tools,armbian-zsh,armbian-plymouth-theme"
declare -g PREFER_DOCKER="yes"

View File

@@ -0,0 +1,17 @@
#/root/.not_logged_in_yet
# System
SET_LANG_BASED_ON_LOCATION="n"
PRESET_LOCALE="en_US.UTF-8"
PRESET_TIMEZONE="Etc/UTC"
# Root
PRESET_ROOT_PASSWORD="armbian"
PRESET_ROOT_KEY=""
# User
PRESET_USER_NAME="armbian"
PRESET_USER_PASSWORD="armbian"
PRESET_USER_KEY=""
PRESET_DEFAULT_REALNAME="Armbian user"
PRESET_USER_SHELL="bash"