Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build_and_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}