File tree Expand file tree Collapse file tree 4 files changed +6
-27
lines changed Expand file tree Collapse file tree 4 files changed +6
-27
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,10 @@ jobs:
43
43
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
44
44
/bin/sh docker-images/export.sh --version 2.x --image-name ce-dev --dockerfile-path base --push
45
45
/bin/sh docker-images/export.sh --version 2.x --image-name ce-dev-controller --dockerfile-path controller --push
46
- - name : Test templates and push Drupal images to Docker
46
+ - name : Test templates with the previous images created
47
47
run : |
48
48
sudo chmod +x bin/run.js
49
- echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
50
- /bin/sh templates/prebuild.sh --template ce-dev.compose.yml --push
49
+ /bin/sh templates/prebuild.sh --template ce-dev.compose.yml
51
50
- name : Publish new ce-dev binaries
52
51
uses : softprops/action-gh-release@v1
53
52
with :
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ x-ce_dev:
11
11
- 'https://www.{{ project_name }}.local'
12
12
services:
13
13
web:
14
- image: 'codeenigma/drupal10-web :2.x'
14
+ image: 'codeenigma/ce-dev :2.x'
15
15
platform: linux/amd64
16
16
cgroup: host
17
17
expose:
@@ -36,7 +36,7 @@ services:
36
36
cap_add:
37
37
- NET_ADMIN
38
38
db:
39
- image: 'codeenigma/drupal10-db:2.x '
39
+ image: 'mariadb '
40
40
platform: linux/amd64
41
41
environment:
42
42
MYSQL_ROOT_PASSWORD: ce-dev
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ x-ce_dev:
11
11
- 'https://www.{{ project_name }}.local'
12
12
services:
13
13
web:
14
- image: 'codeenigma/drupal10-web :2.x'
14
+ image: 'codeenigma/ce-dev :2.x'
15
15
platform: linux/amd64
16
16
cgroup: host
17
17
expose:
@@ -36,7 +36,7 @@ services:
36
36
cap_add:
37
37
- NET_ADMIN
38
38
db:
39
- image: 'codeenigma/drupal10-db:2.x '
39
+ image: 'mariadb '
40
40
platform: linux/amd64
41
41
environment:
42
42
MYSQL_ROOT_PASSWORD: ce-dev
Original file line number Diff line number Diff line change @@ -76,27 +76,7 @@ test_project(){
76
76
echo " $1 "
77
77
}
78
78
79
- # Build a project.
80
- # @param $1
81
- # Project name.
82
- build_project (){
83
- cd " $WORK_DIR /$1 "
84
- $CE_DEV_BIN build --registry codeenigma
85
- }
86
-
87
- # Build a project.
88
- # @param $1
89
- # Project name.
90
- push_project (){
91
- cd " $WORK_DIR /$1 "
92
- $CE_DEV_BIN push --anonymous --registry codeenigma
93
- }
94
-
95
79
for PROJECT in $PROJECTS ; do
96
80
create_project " $PROJECT "
97
81
test_project " $PROJECT "
98
- build_project " $PROJECT "
99
- if [ $PUSH = " yes" ]; then
100
- push_project " $PROJECT "
101
- fi
102
82
done
You can’t perform that action at this time.
0 commit comments