fix(ci): Docker manifest-list jobs run on GitHub-hosted runners again
Every job that only assembles or promotes Docker Hub manifest lists with `imagetools create` (docker.yml merge + release-publish-manifest, sandbox-image.yml merge, the stable-release `complete` and publication `reconcile` alias promotions) moved to Blacksmith in91fae5f8cb. Since then the index commit to Docker Hub fails every time: failed commit on ref "index-sha256:...": unexpected status from GET request to https://registry-1.docker.io:443/v2/.../manifests/rc.4-v0.22.3: 404 Not Found It is not the buildx version: rc.4 ran buildx v0.38.1 (after6932521f25) and failed identically to rc.1-rc.3 on v0.23.0, while v0.22.2 published on ubuntu-latest with docker/setup-buildx-action. Restore exactly that setup (runner, checkout, setup-buildx-action pinned to the pre-migration SHAs) for these five jobs; builds and per-arch pushes stay on Blacksmith.
This commit is contained in:
32
.github/workflows/docker.yml
vendored
32
.github/workflows/docker.yml
vendored
@@ -443,7 +443,10 @@ jobs:
|
||||
# `needs` is the whole 4-leg matrix: only publish both :main variants
|
||||
# after every arch and variant publisher succeeds.
|
||||
if: ${{ !cancelled() && needs.mode.outputs.release != 'true' && github.repository == 'NousResearch/hermes-agent' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
# GitHub-hosted with docker/setup-buildx-action, as before the runner migration: on
|
||||
# Blacksmith `imagetools create` cannot commit a manifest list to Docker Hub (404 on the
|
||||
# index commit, any buildx version): v0.22.3 rc.1-rc.4 died on it in the versioned manifest.
|
||||
runs-on: ubuntu-latest
|
||||
needs: [mode, publish]
|
||||
timeout-minutes: 10
|
||||
environment: container-publish
|
||||
@@ -470,17 +473,11 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
continue-on-error: true
|
||||
uses: useblacksmith/setup-docker-builder@19215110ab936351210feebdfa5b440b4493e184 # v2
|
||||
with:
|
||||
# the action's default buildx (v0.23.0) fails to push manifest lists to Docker Hub
|
||||
buildx-version: v0.38.1 # a version string: the action rejects a commit SHA and falls back to v0.23.0
|
||||
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
||||
|
||||
- name: Set up Docker Buildx (retry)
|
||||
if: steps.buildx.outcome == 'failure'
|
||||
uses: useblacksmith/setup-docker-builder@19215110ab936351210feebdfa5b440b4493e184 # v2
|
||||
with:
|
||||
# the action's default buildx (v0.23.0) fails to push manifest lists to Docker Hub
|
||||
buildx-version: v0.38.1 # a version string: the action rejects a commit SHA and falls back to v0.23.0
|
||||
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
@@ -634,7 +631,10 @@ jobs:
|
||||
name: Assemble versioned manifest and digest receipt
|
||||
if: needs.mode.outputs.phase == 'publish'
|
||||
needs: [mode, release-publish]
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
# GitHub-hosted with docker/setup-buildx-action, as before the runner migration: on
|
||||
# Blacksmith `imagetools create` cannot commit a manifest list to Docker Hub (404 on the
|
||||
# index commit, any buildx version): v0.22.3 rc.1-rc.4 died on it in the versioned manifest.
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
digest: ${{ steps.list.outputs.digest }}
|
||||
timeout-minutes: 15
|
||||
@@ -643,7 +643,7 @@ jobs:
|
||||
RELEASE_TAG: ${{ inputs.tag }}
|
||||
steps:
|
||||
- name: Checkout release code (helper scripts only)
|
||||
uses: useblacksmith/checkout@25227e61ff9dafe400e22fa487b673eac4e4409a # v1
|
||||
uses: actions/checkout@f548e57e544e1ff5a4c46bf1e1b8685f8e4a348a # v7.0.1
|
||||
with:
|
||||
ref: ${{ inputs.commit || github.sha }}
|
||||
|
||||
@@ -656,17 +656,11 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
continue-on-error: true
|
||||
uses: useblacksmith/setup-docker-builder@19215110ab936351210feebdfa5b440b4493e184 # v2
|
||||
with:
|
||||
# the action's default buildx (v0.23.0) fails to push manifest lists to Docker Hub
|
||||
buildx-version: v0.38.1 # a version string: the action rejects a commit SHA and falls back to v0.23.0
|
||||
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
||||
|
||||
- name: Set up Docker Buildx (retry)
|
||||
if: steps.buildx.outcome == 'failure'
|
||||
uses: useblacksmith/setup-docker-builder@19215110ab936351210feebdfa5b440b4493e184 # v2
|
||||
with:
|
||||
# the action's default buildx (v0.23.0) fails to push manifest lists to Docker Hub
|
||||
buildx-version: v0.38.1 # a version string: the action rejects a commit SHA and falls back to v0.23.0
|
||||
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
|
||||
10
.github/workflows/sandbox-image.yml
vendored
10
.github/workflows/sandbox-image.yml
vendored
@@ -131,7 +131,10 @@ jobs:
|
||||
merge:
|
||||
if: ${{ !cancelled() && github.repository == 'NousResearch/hermes-agent' && (github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.publish)) }}
|
||||
needs: [publish]
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
# GitHub-hosted with docker/setup-buildx-action, as before the runner migration: on
|
||||
# Blacksmith `imagetools create` cannot commit a manifest list to Docker Hub (404 on the
|
||||
# index commit, any buildx version): v0.22.3 rc.1-rc.4 died on it in the versioned manifest.
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
environment: container-publish
|
||||
steps:
|
||||
@@ -142,10 +145,7 @@ jobs:
|
||||
merge-multiple: true
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: useblacksmith/setup-docker-builder@19215110ab936351210feebdfa5b440b4493e184 # v2
|
||||
with:
|
||||
# the action's default buildx (v0.23.0) fails to push manifest lists to Docker Hub
|
||||
buildx-version: v0.38.1 # a version string: the action rejects a commit SHA and falls back to v0.23.0
|
||||
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
|
||||
12
.github/workflows/stable-release-publication.yml
vendored
12
.github/workflows/stable-release-publication.yml
vendored
@@ -32,11 +32,14 @@ jobs:
|
||||
(github.event.workflow_run.conclusion != 'success' &&
|
||||
github.event.workflow_run.event == 'workflow_dispatch' &&
|
||||
github.event.workflow_run.head_repository.full_name == github.repository)
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
# GitHub-hosted with docker/setup-buildx-action, as before the runner migration: on
|
||||
# Blacksmith `imagetools create` cannot commit a manifest list to Docker Hub (404 on the
|
||||
# index commit, any buildx version): v0.22.3 rc.1-rc.4 died on it in the versioned manifest.
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
environment: release-signing
|
||||
steps:
|
||||
- uses: useblacksmith/checkout@25227e61ff9dafe400e22fa487b673eac4e4409a # v1
|
||||
- uses: actions/checkout@f548e57e544e1ff5a4c46bf1e1b8685f8e4a348a # v7.0.1
|
||||
with:
|
||||
ref: ${{ github.event.repository.default_branch }}
|
||||
fetch-depth: 0
|
||||
@@ -47,10 +50,7 @@ jobs:
|
||||
toolchain: node
|
||||
cache-python: false
|
||||
- name: Set up Docker Buildx for ordered alias promotion
|
||||
uses: useblacksmith/setup-docker-builder@19215110ab936351210feebdfa5b440b4493e184 # v2
|
||||
with:
|
||||
# the action's default buildx (v0.23.0) fails to push manifest lists to Docker Hub
|
||||
buildx-version: v0.38.1 # a version string: the action rejects a commit SHA and falls back to v0.23.0
|
||||
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
||||
- name: Log in to Docker Hub for ordered alias promotion
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
with:
|
||||
|
||||
12
.github/workflows/stable-release.yml
vendored
12
.github/workflows/stable-release.yml
vendored
@@ -610,13 +610,16 @@ jobs:
|
||||
if: always()
|
||||
needs: [admit, ci, docker, acceptance, candidate-manifest, publication, publish-docker,
|
||||
windows-packaged, macos-packaged-arm64, macos-packaged-x64]
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
# GitHub-hosted with docker/setup-buildx-action, as before the runner migration: on
|
||||
# Blacksmith `imagetools create` cannot commit a manifest list to Docker Hub (404 on the
|
||||
# index commit, any buildx version): v0.22.3 rc.1-rc.4 died on it in the versioned manifest.
|
||||
runs-on: ubuntu-latest
|
||||
environment: release-signing
|
||||
permissions:
|
||||
contents: write
|
||||
actions: read
|
||||
steps:
|
||||
- uses: useblacksmith/checkout@25227e61ff9dafe400e22fa487b673eac4e4409a # v1
|
||||
- uses: actions/checkout@f548e57e544e1ff5a4c46bf1e1b8685f8e4a348a # v7.0.1
|
||||
with:
|
||||
ref: ${{ github.sha }}
|
||||
fetch-depth: 0
|
||||
@@ -674,10 +677,7 @@ jobs:
|
||||
--candidate-manifest-sha256 "$CANDIDATE_MANIFEST_SHA256" --candidate-commit "$RELEASE_COMMIT" \
|
||||
"${args[@]}"
|
||||
- name: Set up Docker Buildx for ordered alias promotion
|
||||
uses: useblacksmith/setup-docker-builder@19215110ab936351210feebdfa5b440b4493e184 # v2
|
||||
with:
|
||||
# the action's default buildx (v0.23.0) fails to push manifest lists to Docker Hub
|
||||
buildx-version: v0.38.1 # a version string: the action rejects a commit SHA and falls back to v0.23.0
|
||||
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
||||
- name: Log in to Docker Hub for ordered alias promotion
|
||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user