Skip to content

Commit 3bd1459

Browse files
committed
Update requirements
1 parent 6ec4d7c commit 3bd1459

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed

.github/workflows/docker-image.yml

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- '**.md'
7+
pull_request:
8+
paths-ignore:
9+
- '**.md'
10+
11+
jobs:
12+
build-amd64:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
17+
- name: Set up QEMU
18+
uses: docker/setup-qemu-action@v2
19+
20+
- name: Login to GitHub Container Registry
21+
uses: docker/login-action@v2
22+
with:
23+
registry: ghcr.io
24+
username: ${{ github.actor }}
25+
password: ${{ secrets.GITHUB_TOKEN }}
26+
27+
- name: Set up Docker Buildx
28+
uses: docker/setup-buildx-action@v2
29+
30+
- name: Build and push amd64 container to ghcr
31+
id: docker_build_amd64
32+
uses: docker/build-push-action@v2
33+
with:
34+
platforms: linux/amd64
35+
push: true
36+
tags: ghcr.io/opsboost/iss-display-controller:latest
37+
38+
- name: Image digest
39+
run: echo ${{ steps.docker_build_amd64.outputs.digest }}
40+
41+
build-arm64:
42+
runs-on: ubuntu-latest
43+
steps:
44+
- uses: actions/checkout@v3
45+
46+
- name: Set up QEMU
47+
uses: docker/setup-qemu-action@v2
48+
49+
- name: Login to GitHub Container Registry
50+
uses: docker/login-action@v2
51+
with:
52+
registry: ghcr.io
53+
username: ${{ github.actor }}
54+
password: ${{ secrets.GITHUB_TOKEN }}
55+
56+
- name: Set up Docker Buildx
57+
uses: docker/setup-buildx-action@v2
58+
59+
- name: Build and push arm64 container to ghcr
60+
id: docker_build_arm64
61+
uses: docker/build-push-action@v2
62+
with:
63+
platforms: linux/arm64
64+
push: true
65+
tags: ghcr.io/opsboost/iss-display-controller-arm64:latest
66+
67+
- name: Image digest
68+
run: echo ${{ steps.docker_build_arm64.outputs.digest }}

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ configargparse >= 1.2.3
33
Flask >= 1.1.2
44
hntop >= 0.0.10
55
requests >= 2.28.1
6+
paho-mqtt >= 1.6.1
67
pangocffi >= 0.11.0
78
pangocairocffi >= 0.7.0
89
Pillow >= 9.2.0

0 commit comments

Comments
 (0)