Skip to content

Commit

Permalink
use custom image
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurii Smetanka committed Oct 21, 2024
1 parent b5f1645 commit ceaa428
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-armbian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
- uses: ncipollo/release-action@v1
with:
tag: armbian-bpim4z-"${{ env.ARMBIAN_VERSION }}"
tag: armbian-bpim4z-${{ env.ARMBIAN_VERSION }}
name: 'base armbian image'
artifacts: "build/output/images/*"
allowUpdates: true
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
id: "bpim4"

steps:
- name: download armbian image
uses: robinraju/release-downloader@v1
with:
tag: 'armbian-bpim4z-"24.11.0-trunk.303"'
fileName: '*'
out-file-path: images

- uses: actions/checkout@v4
with:
path: publish/build
Expand Down
5 changes: 3 additions & 2 deletions builder/bpim4.json.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ source "arm-image" "bpim4-pwnagotchi" {
image_type = "armbian"
image_arch = "arm64"
// iso_url = "https://mirrors.dotsrc.org/armbian-dl/bananapim4zero/archive/Armbian_24.8.1_Bananapim4zero_bookworm_current_6.6.44.img.xz"
iso_url = "https://dl.armbian.com/nightly/bananapim4zero/Bookworm_current_gnome-backported-mesa"
iso_checksum = "none"
// iso_url = "https://dl.armbian.com/nightly/bananapim4zero/Bookworm_current_gnome-backported-mesa"
iso_url = "file:${abspath('../../../images')}/Armbian-unofficial_24.11.0-trunk.303_Bananapim4zero_bookworm_current_6.6.54.img.xz"
iso_checksum = "file:${abspath('../../../images')}/Armbian-unofficial_24.11.0-trunk.303_Bananapim4zero_bookworm_current_6.6.54.img.xz.sha"
output_filename = "../../../pwnagotchi-bpim4.img"
// qemu_binary = "qemu-aarch64-static"
qemu_args = ["-r", "6.6.54"]
Expand Down

0 comments on commit ceaa428

Please sign in to comment.