From d66efc31b6a558516998321d3ea3c39cd4373674 Mon Sep 17 00:00:00 2001 From: kantum75 <185953013+kantum75@users.noreply.github.com> Date: Mon, 16 Feb 2026 10:49:20 +0900 Subject: [PATCH] fix: manifest creation --- .github/workflows/build_and_push.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_push.yml b/.github/workflows/build_and_push.yml index 4e24333..96dffb3 100644 --- a/.github/workflows/build_and_push.yml +++ b/.github/workflows/build_and_push.yml @@ -72,6 +72,7 @@ jobs: no-cache: true build-args: | RUBY_VERSION=${{ matrix.ruby_version }} + provenance: false tags: ${{ env.ECR_REGISTRY }}/${{ env.ECR_REGISTRY_ALIAS }}/${{ env.ECR_REPOSITORY }}:${{ matrix.ruby_version }}-${{ matrix.platform.arch }} create_manifest: @@ -105,7 +106,7 @@ jobs: env: ECR_URL: ${{ env.ECR_REGISTRY }}/${{ env.ECR_REGISTRY_ALIAS }}/${{ env.ECR_REPOSITORY }} run: | - docker manifest create $ECR_URL:${{ matrix.ruby_version }} $ECR_URL:${{ matrix.ruby_version }}-arm64 $ECR_URL:${{ matrix.ruby_version }}-amd64 + docker manifest create --amend $ECR_URL:${{ matrix.ruby_version }} $ECR_URL:${{ matrix.ruby_version }}-arm64 $ECR_URL:${{ matrix.ruby_version }}-amd64 docker manifest annotate $ECR_URL:${{ matrix.ruby_version }} $ECR_URL:${{ matrix.ruby_version }}-arm64 --os linux --arch arm64 docker manifest annotate $ECR_URL:${{ matrix.ruby_version }} $ECR_URL:${{ matrix.ruby_version }}-amd64 --os linux --arch amd64 docker manifest push $ECR_URL:${{ matrix.ruby_version }}