File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build-u-boot
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+
11+ build-image :
12+
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - name : Prepare u-boot tree
19+ run : |
20+ bash build.sh setup_tree
21+ ls -R u-boot | head
22+
23+ - uses : docker/setup-qemu-action@v3
24+ - uses : docker/setup-buildx-action@v3
25+
26+ - name : Build and push
27+ uses : docker/build-push-action@v6
28+ with :
29+ platforms : linux/amd64,linux/arm64
30+ push : false
31+ tags : onion/u-boot-builder
32+
33+ - name : Build multi-arch image and push
34+ uses : docker/build-push-action@v6
35+ with :
36+ context : .
37+ file : ./Dockerfile
38+ platforms : linux/amd64,linux/arm64
39+ push : false
40+ tags : onion/u-boot-builder:latest
41+ # tags: ${{ env.REGISTRY }}/u-boot-builder:${{ github.sha }}
42+ # cache-from: type=registry,ref=${{ env.REGISTRY }}/u-boot-builder:buildcache
43+ # cache-to: type=registry,ref=${{ env.REGISTRY }}/u-boot-builder:buildcache,mode=max
You can’t perform that action at this time.
0 commit comments