diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 205a52c0e5..0e58d544cc 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -7,7 +7,8 @@ on: - v* env: - IMAGE_NAME: bsc + IMAGE_NAME: bsc-client + IMAGE_SOURCE: https://github.com/${{ github.repository }} jobs: # Push image to GitHub Packages. @@ -21,14 +22,14 @@ jobs: - name: Build image run: | docker build . \ - --label "org.opencontainers.image.source=${{ secrets.IMAGE_SOURCE }}" \ + --label "org.opencontainers.image.source=${IMAGE_SOURCE}" \ --label "org.opencontainers.image.revision=$(git rev-parse HEAD)" \ --label "org.opencontainers.image.version=$(git describe --tags --abbrev=0)" \ --label "org.opencontainers.image.licenses=LGPL-3.0,GPL-3.0" \ -f ./Dockerfile -t "${IMAGE_NAME}" - name: Log into registry - run: echo "${{ secrets.PACKAGE_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin + run: echo "${{ secrets.GH_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin - name: Push image run: | @@ -48,4 +49,3 @@ jobs: docker tag $IMAGE_NAME $IMAGE_ID:latest docker push $IMAGE_ID:$VERSION docker push $IMAGE_ID:latest - \ No newline at end of file diff --git a/eth/downloader/fetchers_concurrent_bodies.go b/eth/downloader/fetchers_concurrent_bodies.go index 49f3644fd9..2141b63735 100644 --- a/eth/downloader/fetchers_concurrent_bodies.go +++ b/eth/downloader/fetchers_concurrent_bodies.go @@ -100,6 +100,7 @@ func (q *bodyQueue) deliver(peer *peerConnection, packet *eth.Response) (int, er peer.log.Trace("Delivered new batch of bodies", "count", len(txs), "accepted", accepted) default: peer.log.Debug("Failed to deliver retrieved bodies", "err", err) + panic(err) } return accepted, err }