You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
-59Lines changed: 0 additions & 59 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -205,62 +205,3 @@ In CI, the images are built and tested in real `arm64` and `x64` architectures.
205
205
│ └──────────────────────────────────────┘ │
206
206
└─────────────────────────────────────────────┘
207
207
```
208
-
209
-
### Updating images to add `linux/arm64`
210
-
211
-
Using the `docker` CLI, you can build the `linux/arm64` image of an image, glue the existing `linux/amd64` image to it to create a "manifest list", and then push that to update the current tag on the registry. The end result is that `amd64` users will see no change at all, while `arm64` users will now get the correct `arm64` image.
212
-
213
-
<details>
214
-
<summary>Step-by-step instructions:</summary>
215
-
216
-
These steps assume you have Docker Hub and ECR credentials.
217
-
218
-
When following these steps, you may get into a state where you have cached copies of images causing wrong behavior. If this happens, delete the offending images, or `docker system prune --all` to be safe.
219
-
220
-
1. Ensure that the entire `FROM` chain of this image has a `linux/arm64` version, and follow this guide for those `FROM` images if necessary. For example, generating an `arm64``cypress/browsers:node1.2.3-chrome100` would require an `arm64``cypress/base:1.2.3` image.
221
-
2. Re-run the `yarn add:<type>:image` command to update the `Dockerfile` folder with any changes in the build scripts. The correct command is at the top of every `build.sh` file in a comment. Verify that this has replaced the existing image and not caused any unexpected changes, like generating in the wrong directory.
9. Run `docker manifest push cypress/<image>:<tag>` to push the completed manifest to Docker Hub.
253
-
10. Validate that the pushed image is correct.
254
-
11. To publish to ECR, use `docker login` to switch accounts and follow the below, slightly modified, steps - you don't need to rebuild the `linux/arm64` version. ECR Digest strings may differ from the Hub Digest strings since they are built separately.
0 commit comments