Skip to content

update gw

update gw #16

Workflow file for this run

name: Linux x86_64 incode
on:
push:
tags:
- "*_incode"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.10', '3.11' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: get tag
id: get_tag
run: |
tag=${{ github.ref_name }}
echo "tag: ${tag//[^0-9]/}"
echo "tag=${tag//[^0-9]/}" >> $GITHUB_OUTPUT
- name: Build wheel
uses: docker/build-push-action@v4
with:
file: Dockerfile.incode_build
platforms: linux/amd64
push: false
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
target: export-stage
build-args: [ "PYTHON_VERSION=${{ matrix.python-version }}", "OPENCV_TAG=${{ steps.get_tag.outputs.tag }}" ]

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

View workflow run for this annotation

GitHub Actions / Linux x86_64 incode

Invalid workflow file

The workflow is not valid. .github/workflows/build.yaml (Line: 34, Col: 23): A sequence was not expected
tags: |
incodetech/opencv-python-env
outputs: type=local,dest=./
- name: Create release
if: ${{ startsWith(github.ref, 'refs/tags/') == true }}
uses: softprops/action-gh-release@v1
with:
fail_on_unmatched_files: true
files: |
*.whl