restore release.yml, do multi arch build in docker-build-test.yml

This commit is contained in:
Paul Gauthier 2023-10-31 14:48:37 -07:00
parent 982c58a94d
commit 702fc0c6ea
2 changed files with 23 additions and 7 deletions

View file

@ -29,7 +29,7 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
#twine upload dist/*
twine upload dist/*
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
@ -46,8 +46,8 @@ jobs:
with:
context: .
file: ./docker/Dockerfile
platforms: linux/arm64
push: false
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/aider:${{ github.ref_name }}
${{ secrets.DOCKERHUB_USERNAME }}/aider:latest