Jump to content

How to build images using Github Actions?


jimg

Recommended Posts

The build instructions `README` suggest it's possible to build an image using Github actions.  So, I created a new repository and created the following file under `.github/workflows/orangepizero3_build.yml`

 

name: Build Orange Pi Zero 3 server image                                                                                                                                                           
on:                                                                                                                                                                                           
  workflow_dispatch:                                                                                                                                                                          
jobs:                                                                                                                                                                                         
  build-armbian:                                                                                                                                                                              
    runs-on: ubuntu-latest                                                                                                                                                                    
    steps:                                                                                                                                                                                    
      - uses: armbian/build@main                                                                                                                                                              
        with:                                                                                                                                                                                 
          armbian_token: "${{ secrets.GITHUB_TOKEN }}"  # GitHub token                                                                                                                        
          armbian_release: "bookworm"                        # userspace                                                                                                                      
          armbian_target: "build"                        # build=image, kernel=kernel                                                                                                         
          armbian_board: "orangepizero3"                   # build target                                                                                                                     
          armbian_ui: "server"     

 

But when I tried to run this action, I received this error:

 

Error: Could not find file '/home/runner/work/_actions/_temp_52217267-7314-4a20-996d-95b7097793e8/_staging/armbian-build-de030c7/patch/kernel/rockchip-rk3588-collabora/dt/rk3588-nanopc-cm3588-nas.dts'.

 

Am I doing something wrong?  Is there some aspect to building an image using Github Actions I'm missing?

Edited by jimg
correct misspelling
Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines