CircleCI-Public / aws-ecr-orb

CircleCI orb for interacting with Amazon's Elastic Container Registry (ECR)
https://circleci.com/orbs/registry/orb/circleci/aws-ecr
MIT License
80 stars 142 forks source link

fix: remove binfmt install before docker layer caching #241

Closed brivu closed 1 year ago

brivu commented 2 years ago

Currently, when remote docker is used with the latest iteration of Docker Layer Caching (DLC), a multi-architecture build can leave filesystem entries behind that cause corruption upon saving the layer cache. Invoking docker run --privileged --rm tonistiigi/binfmt --install all as part of the buildx context creation registers various qemu-based binary format hooks on the host system. If these are not cleaned up prior to saving the /var/lib/docker layer cache, the resulting ext4 filesystem is considered corrupt due to missing links.

The fix proposed here is to conditionally (i.e. if remote-docker-layer-caching is provided in the parameters) invoke docker run --privileged --rm tonistiigi/binfmt --uninstall qemu-* to remove the qemu binary format handlers prior to the end of the workflow to preserve a valid state of the filesystem for caching.

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:b4fc3c1c45926102f2a11d61a3ffcd65c75e6aa9

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:b54e956e71d0f4e87924b722c0a839aec26ce2ed

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:5f659082c999dc0ff16fa8603fb3bced999d2a18

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:099bd996c16f4ffef514ce1f1171493523af7ea6

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:f20034d314270e5607e95a9a7b726815af968b28

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:6c45d0d52213b18d169697ca17d9dfd73aab3a5e

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:5125fa2a005ed1722a77f8a9e798aac7c6534259

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:57b8eb8d4645fc4746a97ca96237bf3914130ba4

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:63b84076ab771901c6e7f886f8a624ff769c9929

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:07ebc179098403ec9057aa3265b428bef4f61174

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:6786aecd5e0c3e4ba627a2322a5be360aaf06526

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:168ad86307990b6fa6bbbbe88ca87a70a2b7f84a

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:20c20f2322e52d85bb654941f643633f7a6f836c

orb-publisher commented 2 years ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:464a30a03f294f827b7360599de54e025d9c6a0a

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:5b845548731ec7291405c43683ee3892f3423de6

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:23df32e3282bb0db5dc16a1266bbb33ba03a2005

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:85736a6a8982e32ebc75cfc62e74f1c3f261e52a

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:7fbd754a2b37838ac27fb03be065349fbd47d051

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:28042f8b13304f6ef212d8d860eac883cc0690df

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:c79c66e6583b71ed6f13f82dc36051ebfba61e6b

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:5dcb1e1f3ae7df698f4c9a6dad48be732fe9b29f

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:935fffe1d4dc09b601b9aceb9d3734ed654e92ed

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:e481a84108c396c1fbc30e70ed37f9e144f63a72

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:b83b86ba837c6f8d0e798841ff28de73046db138

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:8d1ddaba088ca2fc2e6c5dc18246523c137a8573

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:72b378c3a9b1590e0a6d17635bb12379a1f9a141

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:fea5ff39f9c603b363429967818657d1af0317a2

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:21540402f7b25f731055b50631a8e1897200b8f3

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:4e032c08fedd37afb59ef8df41a64e85f3d58837

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:8f586eefb756c4e9b6e61b998c9a06bc7b8ec3f2

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:4a070ce4c597e70fa75dcd2371936a895a030f06

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:85302a228716cb3405cad91a65168136f889a5cc

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:65c30bfc07802e30a9eb9e660d809d07b89a1ba1

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:a194af70bbb9c18c2ed22555c392179c93fbffae

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:67041f8c98fd797f01a94806948743e3e3e33587

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:fb5c137126d37c0797f37d239fd4e1f774ad86a9

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:396cba7bda90c20eb9f0c473eb4f4bfa85ce0a2f

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:61da079b74d8c781b1964558a3b5122841b1fb62

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:c87ea52969937cc74b23c492f6cc396e96d8602f

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:c2984b5e1a7825c116142f71fd5f3bb0cf23376b

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:c1ca49d1b555d155b6d94a5be6e51333cc572894

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:0ce1fcee3960b03ae51db10520ed381047d400ec

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:5082ec32a19611f18b5d37a5f816c73cafac50c8

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:99303c5ae7f70b088020b00ea089152fa78147a3

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:4d896b1d13c613e71076d40f717c5520f3eb6604

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:fd121fe82bb4428652dbd7ef3a919c8af24a0ddb

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:1c26e4ebc44831ac287ad9e629cb98f21d8f225b

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:64ff1b5962537c109fdf79f7bfa9732bd9e016d9

orb-publisher commented 1 year ago

Your development orb has been published. It will expire in 30 days. You can preview what this will look like on the CircleCI Orb Registry at the following link: https://circleci.com/developer/orbs/orb/circleci/aws-ecr?version=dev:dd124230317a3dfaa84ed03f9037519a9f718191

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.