diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 342abf5..6a470f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: permissions: contents: read packages: write - # + # steps: - uses: docker/setup-buildx-action@v2.9.0 with: @@ -38,13 +38,13 @@ jobs: username: ${{ github.actor }} password: ${{ github.token }} - - name: Build image + - name: Build image (X86) uses: docker/build-push-action@v4.1.1 with: load: true push: false tags: pyda_tmp - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 provenance: false cache-from: type=gha @@ -52,6 +52,16 @@ jobs: run: | docker run -e PYTHONUNBUFFERED=1 --rm --workdir /opt/pyda/tests --entrypoint python3 pyda_tmp run_tests.py --debug + - name: Build image (ARM64) + uses: docker/build-push-action@v4.1.1 + with: + load: true + push: false + tags: pyda_tmp + platforms: linux/arm64 + provenance: false + cache-from: type=gha + - name: Push image uses: docker/build-push-action@v4.1.1 if: github.event_name != 'pull_request'