diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c86bf7c8..e0674c7f2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -136,6 +136,14 @@ jobs: board_id: odroidc2 board_name: OdroidC2 secrets: inherit + orangepi5: + if: ${{ inputs.sd-images || ( github.event_name != 'workflow_dispatch' && !startsWith(github.ref_name, 'docker-') ) }} + uses: ./.github/workflows/build-sd-images.yml + with: + git_ref: "${{ inputs.git_ref || github.head_ref || github.ref_name }}" + board_id: orangepi5 + board_name: OrangePi5 + secrets: inherit lxd-x86-release: needs: @@ -294,6 +302,18 @@ jobs: artifact_file: "${{ needs.odroidc2.outputs.artifact_file }}" dry_run: ${{ (!inputs.release && github.event_name == 'workflow_dispatch') || github.ref_type != 'tag' || !(github.ref_protected || startsWith(github.ref, 'refs/tags/v')) }} secrets: inherit + orangepi5-release: + needs: + - orangepi5 + - github-release + if: ${{ inputs.sd-images || github.event_name != 'workflow_dispatch' }} + uses: ./.github/workflows/publish-image.yml + with: + git_ref: "${{ inputs.git_ref || github.head_ref || github.ref_name }}" + artifact_id: "${{ needs.orangepi5.outputs.artifact_name }}" + artifact_file: "${{ needs.orangepi5.outputs.artifact_file }}" + dry_run: ${{ (!inputs.release && github.event_name == 'workflow_dispatch') || github.ref_type != 'tag' || !(github.ref_protected || startsWith(github.ref, 'refs/tags/v')) }} + secrets: inherit github-release: if: ${{ github.event_name == 'workflow_dispatch' || !startsWith(github.ref_name, 'docker-') }}