Skip to content

Commit

Permalink
Adding build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alterakey committed Nov 26, 2023
1 parent 9579ba5 commit 5c7826b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: deploy

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Setup environment
uses: actions/setup-python@v3
with:
python-version: 3.11

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64

- name: Building containers
run: |
python -m pip install flit
flit build
docker buildx build -t trueseeing --platform linux/arm64,linux/amd64 --build-arg dist=dist/trueseeing*.whl .

0 comments on commit 5c7826b

Please sign in to comment.