1515 - " false"
1616 push :
1717 branches :
18- - srmungar_armlocal_dev_branch
18+ - elvin_arm
1919
2020permissions :
2121 contents : read
5858
5959 - name : Run Ubuntu24 Raw Image Build
6060 env :
61- # RUN_QEMU_TEST: ${{ github.event.push }}
62- RUN_QEMU_TEST : true
61+ RUN_QEMU_TEST : ${{ github.event.push }}
62+ # RUN_QEMU_TEST: true
6363 run : |
6464 echo "Starting Ubuntu24 raw image build..."
6565 # Ensure script has access to docker group for Earthly
@@ -85,20 +85,10 @@ jobs:
8585 ./scripts/build_ubuntu24_arm_raw.sh $ARGS
8686 echo "Ubuntu24 raw image build completed."
8787
88- - name : Notify on failure
89- if : ${{ failure() && github.event_name == 'pull_request' }}
90- env :
91- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
92- REVIEWER_ID : srmungar
93- run : |
94- PR_AUTHOR=$(jq --raw-output 'try .pull_request.user.login // empty' "$GITHUB_EVENT_PATH")
95- if [ -z "$PR_AUTHOR" ]; then
96- echo "PR_AUTHOR not found in event payload. Skipping notification."
97- exit 0
98- fi
99- COMMENT_BODY="Hey @$PR_AUTHOR and @$REVIEWER_ID — the Ubuntu24 raw image build has failed. Please check the logs."
100- curl -s -X POST \
101- -H "Authorization: Bearer $GITHUB_TOKEN" \
102- -H "Accept: application/vnd.github.v3+json" \
103- --data "{\"body\": \"$COMMENT_BODY\"}" \
104- "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"
88+ - name : GitHub Upload Release Artifacts
89+ uses : actions/upload-artifact@v4
90+ with :
91+ name : ubuntu24-arm-raw-image
92+ path : |
93+ workspace/*/imagebuild/minimal/*.raw*
94+ retention-days : 30
0 commit comments