Skip to content

Adding build workflow #5

Adding build workflow

Adding build workflow #5

Workflow file for this run

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

Check failure on line 19 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / deploy

Invalid workflow file

The workflow is not valid. .github/workflows/build.yaml (Line: 19, Col: 9): Unexpected value 'platforms'
- 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 .