Skip to content

Commit b0a7989

Browse files
authored
Merge pull request mysql#6 from planetscale/piki/ecr-command
Add more instructions for the ECR command
2 parents 588ab32 + fc5720b commit b0a7989

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

_planetscale/docs/registry.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@
55

66
### List images
77

8-
To retrieve details of an image built against a branch:
8+
To list MySQL container images:
99

1010
```
11-
aws ecr describe-images --profile build-ops --repository-name 'branch/mysql-server' --image-ids imageTag=8.0-latest | jq -r '.imageDetails[]'
11+
aws --region us-east-1 ecr list-images --profile build --repository-name 'branch/mysql-server' | jq '.imageIds[].imageTag | select(.)'
12+
```
13+
14+
If necessary, log into the [`build` profile](https://github.com/planetscale/infra/blob/12ae46f94b7b9ad15b0b1ef00c94d544e590c42f/aws_config#L57-L61) first:
15+
```
16+
aws sso login --profile build
1217
```

0 commit comments

Comments
 (0)