Skip to content

Commit 1696d1f

Browse files
committed
fix
1 parent e202213 commit 1696d1f

1 file changed

Lines changed: 1 addition & 25 deletions

File tree

.github/workflows/docker-build.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -155,31 +155,6 @@ jobs:
155155
with:
156156
fetch-depth: 0
157157

158-
- name: Build wheel in debian:trixie
159-
if: matrix.container == 'python-apps-base'
160-
run: |
161-
# Remove tags that setuptools_scm can't parse (only ai/* and release/* are valid)
162-
git tag -l | grep -v -E '^(ai|release)/' | xargs -r git tag -d
163-
164-
docker run --rm \
165-
-v "${{ github.workspace }}:/${{ github.workspace }}" \
166-
-w "${{ github.workspace }}" \
167-
-e SOURCE_DATE_EPOCH="$(git log -1 --format=%ct)" \
168-
-e PUBLIC_IMAGE_REGISTRY_BASE="${{ env.DEV_REGISTRY_PATH }}/" \
169-
debian:trixie bash -c "
170-
set -e
171-
apt-get update
172-
apt-get install -y --no-install-recommends --no-install-suggests sudo git ca-certificates python3-dev python3-pip build-essential pkg-config
173-
echo '[global]' > /etc/pip.conf
174-
echo 'break-system-packages = true' >> /etc/pip.conf
175-
git config --global --add safe.directory '*'
176-
pip install go-task-bin==${{ env.TASKFILE_VERSION }}
177-
pip install https://github.com/${{ github.repository }}/releases/download/opencv/4.13.0.92/opencv_python_headless-4.13.0.92-cp313-cp313-linux_aarch64.whl
178-
task init:ci
179-
task build-dev
180-
cp ./dist/arduino*.whl ./containers/python-apps-base/
181-
"
182-
183158
- name: Set up QEMU
184159
uses: docker/setup-qemu-action@v3
185160
with:
@@ -241,6 +216,7 @@ jobs:
241216
cache-to: ${{ steps.cache.outputs.cache_to }}
242217
provenance: false
243218
build-args: |
219+
OPENCV_REPO_OWNER=${{ github.repository_owner }}
244220
REGISTRY=${{ env.DEV_REGISTRY_PATH }}
245221
# BASE_IMAGE_VERSION=latest # currently not used, defaults to value used in Dockerfile
246222

0 commit comments

Comments
 (0)