Skip to content

Commit

Permalink
add:arm
Browse files Browse the repository at this point in the history
  • Loading branch information
xizeyoupan committed Feb 2, 2023
1 parent 8640052 commit 84f4d7e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ github.workspace }}/kinss
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/kinss:latest
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/kinss:latest
${{ secrets.DOCKERHUB_USERNAME }}/kinss:1.1
- name: Depoly to flyio, using fly.toml
uses: superfly/flyctl-actions@master
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
with:
args: "deploy ./kinss"
args: "deploy ./kinss"
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM python:3.8.16

RUN mkdir /code
COPY . /code
RUN pip install -r /code/requirements.txt
RUN python -m pip install -U --force-reinstall pip \
&& pip install -r /code/requirements.txt
WORKDIR /code

CMD ["python", "/code/app.py"]

0 comments on commit 84f4d7e

Please sign in to comment.