Skip to content

Commit

Permalink
try arm64 build again
Browse files Browse the repository at this point in the history
  • Loading branch information
ndrewh committed Aug 20, 2024
1 parent b2c3f73 commit 8ab3f06
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
permissions:
contents: read
packages: write
#
#
steps:
- uses: docker/[email protected]
with:
Expand All @@ -38,20 +38,30 @@ jobs:
username: ${{ github.actor }}
password: ${{ github.token }}

- name: Build image
- name: Build image (X86)
uses: docker/[email protected]
with:
load: true
push: false
tags: pyda_tmp
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
provenance: false
cache-from: type=gha

- name: Test (X86)
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/[email protected]
with:
load: true
push: false
tags: pyda_tmp
platforms: linux/arm64
provenance: false
cache-from: type=gha

- name: Push image
uses: docker/[email protected]
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit 8ab3f06

Please sign in to comment.