Skip to content

Commit 051a1e3

Browse files
committed
feat: integrate with RaspiBlitz
1 parent 99d96f8 commit 051a1e3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2377
-2603
lines changed

.github/workflows/ci.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches: pi
6+
7+
jobs:
8+
build-amd64:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Set up QEMU
12+
uses: docker/setup-qemu-action@v1
13+
- name: Set up Docker Buildx
14+
uses: docker/setup-buildx-action@v1
15+
- name: Login to DockerHub
16+
uses: docker/login-action@v1
17+
with:
18+
username: ${{ secrets.DOCKERHUB_USERNAME }}
19+
password: ${{ secrets.DOCKERHUB_TOKEN }}
20+
- name: Checkout
21+
uses: actions/checkout@v2
22+
- name: Set up Python 3.9
23+
uses: actions/setup-python@v2
24+
with:
25+
python-version: '3.9'
26+
architecture: 'x64'
27+
- name: Show Python version
28+
run: python -c "import sys; print(sys.version)"
29+
- name: Build and push
30+
run: tools/push -p linux/amd64 utils xud
31+
build-arm64:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- name: Set up QEMU
35+
uses: docker/setup-qemu-action@v1
36+
- name: Set up Docker Buildx
37+
uses: docker/setup-buildx-action@v1
38+
- name: Login to DockerHub
39+
uses: docker/login-action@v1
40+
with:
41+
username: ${{ secrets.DOCKERHUB_USERNAME }}
42+
password: ${{ secrets.DOCKERHUB_TOKEN }}
43+
- name: Checkout
44+
uses: actions/checkout@v2
45+
- name: Set up Python 3.9
46+
uses: actions/setup-python@v2
47+
with:
48+
python-version: '3.9'
49+
architecture: 'x64'
50+
- name: Show Python version
51+
run: python -c "import sys; print(sys.version)"
52+
- name: Build and push
53+
run: tools/push -p linux/arm64 utils xud

0 commit comments

Comments
 (0)