Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Rename incode workflow file. #1

Rename incode workflow file.

Rename incode workflow file. #1

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 }}
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: |
opencv_python_*.whl
Morty Proxy This is a proxified and sanitized view of the page, visit original site.