[build] Add additional kernel configurations #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu ISO Installer - CN9130 | |
on: | |
push: | |
branches: [ supernetworks ] | |
jobs: | |
build_iso: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Prepare build container | |
run: cd docker && docker build . -t cnb | |
- name: Run it | |
run: docker run --privileged -v /dev:/dev --rm -v "$PWD":/cn913x_build_dir cnb ./runme.sh | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: spr-clearfog | |
draft: false | |
prerelease: false | |
- name: Upload Release Asset | |
id: upload-release-asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: ./images/ubuntu-cn9130-cf-pro-mmc:1:1.img | |
asset_name: ubuntu-cn9130-cf-pro-mmc:1:1.img | |
asset_content_type: application/octet-stream |