From f96a707cca129924a65073d465e0e7027d165ff2 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 7 Oct 2026 16:54:09 +0000 Subject: [PATCH] ci: tag loaded computer image before tooling smoke Co-authored-by: cynarAI --- .github/workflows/publish-server-image.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/publish-server-image.yml b/.github/workflows/publish-server-image.yml index c145dd2..deb4b49 100644 --- a/.github/workflows/publish-server-image.yml +++ b/.github/workflows/publish-server-image.yml @@ -96,6 +96,15 @@ jobs: cache-to: type=gha,mode=max,scope=pr-${{ github.event.pull_request.number }}-${{ matrix.name }} provenance: false sbom: false + - name: Tag built computer image for tooling test + if: matrix.name == 'computer' + env: + TAGS: ${{ steps.meta.outputs.tags }} + IMAGE: ghcr.io/${{ steps.ns.outputs.repo }}/computer:sha-${{ github.sha }} + run: | + set -euo pipefail + src_tag="$(printf '%s\n' "$TAGS" | sed '/^[[:space:]]*$/d' | head -1)" + docker tag "$src_tag" "$IMAGE" - name: Verify computer image tooling if: matrix.name == 'computer' env: