File tree Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ steps:
21
21
22
22
- wait
23
23
24
- - name : " Build runtime mysql-server container"
25
- label : " :docker: Build runtime container"
24
+ - name : " Build runtime mysql-server container for branch "
25
+ label : " :docker: Build runtime branch container"
26
26
command : " /usr/bin/mysqld -V"
27
+ branches : " !${MAIN_BRANCH}"
27
28
plugins :
28
29
- ecr#v2.3.0:
29
30
login : true
@@ -33,3 +34,17 @@ steps:
33
34
run : release
34
35
push :
35
36
- " release:${REGISTRY}/branch/${IMAGE_NAME}:${BUILDKITE_BRANCH}-latest"
37
+
38
+ - name : " Build runtime mysql-server container for main"
39
+ label : " :docker: Build runtime main container"
40
+ command : " /usr/bin/mysqld -V"
41
+ branches : " ${MAIN_BRANCH}"
42
+ plugins :
43
+ - ecr#v2.3.0:
44
+ login : true
45
+ - artifacts#v1.5.0:
46
+ download : " dist/mysql-*.tar.gz"
47
+ - docker-compose#v3.9.0:
48
+ run : release
49
+ push :
50
+ - " release:${REGISTRY}/main/${IMAGE_NAME}:${BUILDKITE_BRANCH}-latest"
Original file line number Diff line number Diff line change
1
+ # Container registry for mysql-server
2
+
3
+
4
+ ## Using ECR
5
+
6
+ ### List images
7
+
8
+ To retrieve details of an image built against a branch:
9
+
10
+ ```
11
+ aws ecr describe-images --profile build-ops --repository-name 'branch/mysql-server' --image-ids imageTag=8.0-latest | jq -r '.imageDetails[]'
12
+ ```
You can’t perform that action at this time.
0 commit comments