Skip to content

Commit c5f3ab6

Browse files
fix(release): stabilize binary publication (#10976)
* fix(release): stabilize binary publication * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 5e0979b commit c5f3ab6

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/release-binaries.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,19 @@ jobs:
6464

6565
dockerhub-description:
6666
if: github.repository_owner == 'ZcashFoundation' && startsWith(github.event.release.tag_name, 'v')
67-
# Updating Docker Hub metadata must not turn a successfully published
68-
# release image into a failed release.
69-
continue-on-error: true
7067
runs-on: ubuntu-latest
7168
steps:
7269
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
7370
with:
7471
persist-credentials: false
7572

7673
- name: Docker Hub Description
74+
# This metadata-only update is advisory.
75+
continue-on-error: true
7776
uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa #v5.0.0
7877
with:
7978
username: ${{ secrets.DOCKERHUB_USERNAME }}
80-
password: ${{ secrets.DOCKERHUB_PASSWORD }}
79+
password: ${{ secrets.DOCKERHUB_TOKEN }}
8180
repository: zfnd/zebra
8281
short-description: ${{ github.event.repository.description }}
8382

.github/workflows/zfnd-release-binaries.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ jobs:
6161

6262
- name: Install build dependencies
6363
run: |
64-
sudo apt-get -qq update
65-
sudo apt-get -qq install -y --no-install-recommends \
64+
sudo sed -i 's|http://ports.ubuntu.com/ubuntu-ports|https://ports.ubuntu.com/ubuntu-ports|g' /etc/apt/sources.list
65+
sudo apt-get -o Acquire::Retries=3 -qq update
66+
sudo apt-get -o Acquire::Retries=3 -qq install -y --no-install-recommends \
6667
clang libclang-dev cmake protobuf-compiler
6768
6869
# Toolchain version comes from rust-toolchain.toml.

0 commit comments

Comments
 (0)