Skip to content

The agent that grows with you

fix(ci): Docker manifest-list jobs run on GitHub-hosted runners again

Teknium5b147ab036d6
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index d9832e8b51a..d049cce0124 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -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
diff --git a/.github/workflows/sandbox-image.yml b/.github/workflows/sandbox-image.yml
index 64178c1430e..742c76ff7ee 100644
--- a/.github/workflows/sandbox-image.yml
+++ b/.github/workflows/sandbox-image.yml
@@ -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
diff --git a/.github/workflows/stable-release-publication.yml b/.github/workflows/stable-release-publication.yml
index 0e0c2cc906e..08747ddf052 100644
--- a/.github/workflows/stable-release-publication.yml
+++ b/.github/workflows/stable-release-publication.yml
@@ -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:
diff --git a/.github/workflows/stable-release.yml b/.github/workflows/stable-release.yml
index 0b90134be30..3ade09f501e 100644
--- a/.github/workflows/stable-release.yml
+++ b/.github/workflows/stable-release.yml
@@ -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: