Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nazq committed Jun 2, 2024
1 parent 525cd69 commit e06b6e9
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -702,9 +702,8 @@ jobs:
fetch-depth: 0

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all
run: |
docker run --rm --privileged tonistiigi/binfmt --install all
- name: Set up Docker Buildx
id: buildx
Expand All @@ -724,15 +723,9 @@ jobs:
WHEEL_FILE=$(ls dist/pyfusion-*-${{ matrix.python.wheel }}-${{ matrix.python.wheel }}-manylinux_2_17_${{ matrix.architecture.arch }}.manylinux2014_${{ matrix.architecture.arch }}.whl)
echo "WHEEL_FILE=$WHEEL_FILE" >> $GITHUB_ENV
- name: Get architecture-specific digest
id: get-digest
run: |
DIGEST=$(docker buildx imagetools inspect docker.io/nazq/cross-rye-py-runner:latest --format "{{json .Manifest}}" | jq -r '.manifests[] | select(.platform.architecture == "${{ matrix.architecture.arch }}") | .digest')
echo "DIGEST=${DIGEST}" >> $GITHUB_ENV
- name: Run integration tests in Docker
run: |
IMAGE_NAME=docker.io/nazq/cross-rye-py-runner:latest@${{ env.DIGEST }}
IMAGE_NAME=docker.io/nazq/cross-rye-py-runner:latest
echo "Full image name: $IMAGE_NAME"
CONTAINER_ID=$(docker run -d --platform ${{ matrix.architecture.platform }} \
-e FUSION_CLIENT_ID=${{ secrets.FUSION_CLIENT_ID }} \
Expand Down

0 comments on commit e06b6e9

Please sign in to comment.