File tree Expand file tree Collapse file tree 2 files changed +52
-1
lines changed
Expand file tree Collapse file tree 2 files changed +52
-1
lines changed Original file line number Diff line number Diff line change 3131 DOCKERFILE_PATH : Dockerfile
3232 MAJOR_VERSION : 12.22
3333 pwd : postgresql/12
34+ scan_rabbitmq :
35+ executor : ccc
36+ steps :
37+ - set_up_container
38+ - run :
39+ name : Scan server-rabbitmq image
40+ command : scan
41+ environment :
42+ NAME : server-rabbitmq
43+ DOCKERFILE_PATH : Dockerfile
44+ MAJOR_VERSION : 3.12
45+ pwd : rabbitmq/3
3446 publish_postgresql :
3547 executor : ccc
3648 steps :
@@ -44,17 +56,44 @@ jobs:
4456 DOCKER_REGISTRY : dockerhub
4557 MAJOR_VERSION : 12.22
4658 pwd : postgresql/12
59+ publish_rabbitmq :
60+ executor : ccc
61+ steps :
62+ - set_up_container
63+ - run :
64+ name : Build and publish server-rabbitmq image
65+ command : publish
66+ environment :
67+ NAME : server-rabbitmq
68+ DOCKERFILE_PATH : Dockerfile
69+ DOCKER_REGISTRY : dockerhub
70+ MAJOR_VERSION : 3.12
71+ pwd : rabbitmq/3
4772
4873workflows :
4974 my-workflow :
5075 jobs :
76+ - scan_rabbitmq :
77+ context : " org-global"
78+ filters :
79+ branches :
80+ ignore :
81+ - main
82+ - /^server-\d\..+/
5183 - scan_postgresql :
5284 context : " org-global"
5385 filters :
5486 branches :
5587 ignore :
5688 - main
5789 - /^server-\d\..+/
90+ - publish_rabbitmq :
91+ context : " org-global"
92+ filters :
93+ branches :
94+ only :
95+ - main
96+ - /^server-\d\..+/
5897 - publish_postgresql :
5998 context : " org-global"
6099 filters :
@@ -67,7 +106,7 @@ workflows:
67106 context : " org-global"
68107 requires :
69108 - publish_postgresql
70- promotion_component_list : " circleci/server-postgres"
109+ promotion_component_list : " circleci/server-postgres circleci/server-rabbitmq "
71110 filters :
72111 branches :
73112 only :
Original file line number Diff line number Diff line change 1+ FROM bitnami/rabbitmq:latest AS build
2+
3+ FROM bitnami/rabbitmq:3.12
4+
5+ COPY --from=build /opt/bitnami/erlang /opt/bitnami/erlang
6+
7+ USER root
8+
9+ RUN apt-get update && apt-get upgrade -y && \
10+ apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
11+
12+ USER 1001
You can’t perform that action at this time.
0 commit comments