From fdb59c06936624443823dfa4f5ce08f135f2f59c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=B0=E5=BF=97=E5=AE=8F?= Date: Sat, 1 Mar 2025 23:30:53 +0800 Subject: [PATCH] =?UTF-8?q?ADD=EF=BC=9A=20=E7=BE=8E=E8=82=A1=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E3=80=82=20arm64=20=E9=95=9C=E5=83=8F=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-image.yml | 4 + .gitignore | 2 + templates/index.html | 143 ++++++++++++++++++++++++++++- us_stock_service.py | 25 +++-- 4 files changed, 162 insertions(+), 12 deletions(-) create mode 100644 .gitignore diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ca21532..b6198e3 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -13,6 +13,9 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + - name: Login to Docker Hub uses: docker/login-action@v1 with: @@ -26,6 +29,7 @@ jobs: uses: docker/build-push-action@v2 with: context: . + platforms: linux/amd64,linux/arm64 push: true tags: | ${{ secrets.DOCKERHUB_USERNAME }}/stock-scanner:latest diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..addb0a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.log +. * \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index cf641f1..1184a99 100644 --- a/templates/index.html +++ b/templates/index.html @@ -20,15 +20,64 @@ - + + + + +
+ +