From 5788c67088b98e0621ac34e721fa8f1d0919b0d5 Mon Sep 17 00:00:00 2001 From: bdchatham Date: Wed, 22 Apr 2026 13:31:20 -0700 Subject: [PATCH] fix(ci): align ECR mock_balances build-arg name with Dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ECR workflow passed `SEI_CHAIN_BUILD_TAGS=mock_balances`, but the Dockerfile declares `ARG GO_BUILD_TAGS=""`. Docker silently ignores the mismatched arg, so the resulting `sei/sei-chain:mock-` image was built without the `mock_balances` tag — it was a regular build, just labeled differently. Rename the workflow arg to `GO_BUILD_TAGS` so the build tag actually reaches `go build`. Discovered during the v6-5 soak when our expected `mock_balances` behavior was absent on pods pulling the ECR mock image; verified by inspecting `seid version` BuildTags on the produced image. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/ecr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ecr.yml b/.github/workflows/ecr.yml index 8b21c7ea61..4b55eaef9a 100644 --- a/.github/workflows/ecr.yml +++ b/.github/workflows/ecr.yml @@ -49,7 +49,7 @@ jobs: tags: ${{ steps.login-ecr.outputs.registry }}/sei/sei-chain:mock-${{ inputs.tag || inputs.ref || github.sha }} build-args: | SEI_CHAIN_REF=${{ inputs.ref || github.sha }} - SEI_CHAIN_BUILD_TAGS=mock_balances + GO_BUILD_TAGS=mock_balances - name: Build and push seid uses: docker/build-push-action@v6 with: