Adding build workflow #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
platforms: linux/amd64,linux/arm64 | ||
- name: Building containers | ||
run: | | ||
python -m pip install flit | ||
flit build | ||
docker buildx build -t trueseeing --platforms linux/arm64,linux/amd64 --build-arg dist=dist/trueseeing*.whl . |