Skip to content

fix: silence shutdown noise from MqWatcher and Web3 provider #1867

fix: silence shutdown noise from MqWatcher and Web3 provider

fix: silence shutdown noise from MqWatcher and Web3 provider #1867

Workflow file for this run

---
name: Build
on:
push:
branches:
- dev
- main
pull_request:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-24.04
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }}
--password-stdin
- name: Download Docker cache image (if available)
run: docker pull ghcr.io/$GITHUB_REPOSITORY/build-cache || true
- name: Compute version
id: version
run: |
git fetch --prune --unshallow --tags
python3 -m pip install --quiet --user hatch hatch-vcs
echo "value=$(hatch version)" >> "$GITHUB_OUTPUT"
- name: Build the Docker image
run: |
docker build . -t pyaleph-node:${GITHUB_REF##*/} \
--build-arg VERSION=${{ steps.version.outputs.value }} \
-f deployment/docker-build/pyaleph.dockerfile \
--cache-from=ghcr.io/$GITHUB_REPOSITORY/build-cache
- name: Push the image to the cache
# It's not possible to push packages from fork PRs.
if: (github.ref == 'refs/heads/main' || github.event.pull_request.head.repo.full_name
== github.repository) && github.actor != 'dependabot[bot]'
run: |-
docker tag pyaleph-node:${GITHUB_REF##*/} ghcr.io/$GITHUB_REPOSITORY/build-cache
docker push ghcr.io/$GITHUB_REPOSITORY/build-cache