Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
reliveyy committed Oct 27, 2020
1 parent 7aed353 commit 628bc03
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: pi

jobs:
main:
build-amd64:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
Expand All @@ -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
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

0 comments on commit 628bc03

Please sign in to comment.