diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52d6edfd5..f8ae82b20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: branches: pi jobs: - main: + build-amd64: runs-on: ubuntu-latest steps: - name: Set up QEMU @@ -27,4 +27,27 @@ jobs: - name: Show Python version run: python -c "import sys; print(sys.version)" - name: Build and push - run: tools/push -p linux/amd64 -p linux/arm64 utils xud \ No newline at end of file + run: tools/push -p linux/amd64 utils xud + build-arm64: + runs-on: ubuntu-latest + steps: + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Checkout + uses: actions/checkout@v2 + - name: Set up Python 3.9 + uses: actions/setup-python@v2 + with: + python-version: '3.9' + architecture: 'x64' + - name: Show Python version + run: python -c "import sys; print(sys.version)" + - name: Build and push + run: tools/push -p linux/arm64 utils xud \ No newline at end of file