update rust to 1.63.0 to match romanz/electrs rust-toolchain.toml #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build on master push (amd64 only) | |
on: | |
push: | |
branches: | |
- master | |
env: | |
DOCKER_CLI_EXPERIMENTAL: enabled | |
jobs: | |
build: | |
name: Build electrs image | |
runs-on: ubuntu-22.04 | |
env: | |
VERSION: v0.10.1 | |
steps: | |
- name: Login to Docker Hub | |
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin | |
- name: Checkout project | |
uses: actions/checkout@v2 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
id: qemu | |
- name: Setup Docker buildx action | |
uses: docker/setup-buildx-action@v1 | |
id: buildx | |
- name: Show available Docker buildx platforms | |
run: echo ${{ steps.buildx.outputs.platforms }} | |
- name: Run Docker buildx | |
run: | | |
docker buildx build \ | |
--platform linux/amd64 \ | |
--build-arg VERSION=$VERSION \ | |
--tag lukechilds/electrs:$VERSION-amd64 \ | |
--output "type=registry" . |