3 Commits

Author SHA1 Message Date
Bill Zimmerman
a04fe39050 Update release.yml 2025-02-08 22:41:57 +01:00
Bill Zimmerman
9ac67e0ba4 Add raspi-config nonint do_wifi_country to 00-run-chroot 2025-02-08 22:41:18 +01:00
Bill Zimmerman
e8c9fd1690 Update naming to reflect clarity in arch, OS + purpose 2025-02-08 18:15:26 +01:00

View File

@@ -31,6 +31,9 @@ jobs:
#!/bin/bash #!/bin/bash
apt-get update -y && apt-get install -y curl dhcpcd5 iptables procps apt-get update -y && apt-get install -y curl dhcpcd5 iptables procps
curl -sL https://raw.githubusercontent.com/billz/raspap-webgui/refs/heads/master/installers/raspbian.sh | bash -s -- --yes --openvpn 1 --restapi 1 --adblock 1 --wireguard 1 --tcp-bbr 1 --check 0 curl -sL https://raw.githubusercontent.com/billz/raspap-webgui/refs/heads/master/installers/raspbian.sh | bash -s -- --yes --openvpn 1 --restapi 1 --adblock 1 --wireguard 1 --tcp-bbr 1 --check 0
# Set Wi-Fi country to prevent RF kill
raspi-config nonint do_wifi_country "US"
EOF EOF
} && } &&
chmod +x stage-raspap/package-raspap/00-run-chroot.sh && chmod +x stage-raspap/package-raspap/00-run-chroot.sh &&
@@ -48,7 +51,7 @@ jobs:
id: build id: build
uses: usimd/pi-gen-action@v1 uses: usimd/pi-gen-action@v1
with: with:
image-name: "raspap-${{ github.ref_name }}-${{ matrix.arch }}" image-name: "raspap-bookworm-${{ matrix.arch == '32-bit' && 'armhf' || 'arm64' }}-lite-${{ github.event.inputs.tag || github.ref_name }}"
enable-ssh: 1 enable-ssh: 1
stage-list: stage0 stage1 stage2 ./stage-raspap stage-list: stage0 stage1 stage2 ./stage-raspap
verbose-output: true verbose-output: true
@@ -58,8 +61,8 @@ jobs:
- name: Upload Artifact - name: Upload Artifact
uses: svenstaro/upload-release-action@v2 uses: svenstaro/upload-release-action@v2
with: with:
asset_name: raspap-image-${{ github.ref_name }}-${{ matrix.arch }}.zip asset_name: "raspap-bookworm-${{ matrix.arch == '32-bit' && 'armhf' || 'arm64' }}-lite-${{ github.event.inputs.tag || github.ref_name }}.img.zip"
file: ${{ steps.build.outputs.image-path }} file: ${{ steps.build.outputs.image-path }}
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }} tag: ${{ github.event.inputs.tag || github.ref }}
overwrite: true overwrite: true