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:
4343 echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
4444 /bin/sh docker-images/export.sh --version 2.x --image-name ce-dev --dockerfile-path base --push
4545 /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
4747 run : |
4848 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
5150 - name : Publish new ce-dev binaries
5251 uses : softprops/action-gh-release@v1
5352 with :
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ x-ce_dev:
1111 - 'https://www.{{ project_name }}.local'
1212services:
1313 web:
14- image: 'codeenigma/drupal10-web :2.x'
14+ image: 'codeenigma/ce-dev :2.x'
1515 platform: linux/amd64
1616 cgroup: host
1717 expose:
@@ -36,7 +36,7 @@ services:
3636 cap_add:
3737 - NET_ADMIN
3838 db:
39- image: 'codeenigma/drupal10-db:2.x '
39+ image: 'mariadb '
4040 platform: linux/amd64
4141 environment:
4242 MYSQL_ROOT_PASSWORD: ce-dev
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ x-ce_dev:
1111 - 'https://www.{{ project_name }}.local'
1212services:
1313 web:
14- image: 'codeenigma/drupal10-web :2.x'
14+ image: 'codeenigma/ce-dev :2.x'
1515 platform: linux/amd64
1616 cgroup: host
1717 expose:
@@ -36,7 +36,7 @@ services:
3636 cap_add:
3737 - NET_ADMIN
3838 db:
39- image: 'codeenigma/drupal10-db:2.x '
39+ image: 'mariadb '
4040 platform: linux/amd64
4141 environment:
4242 MYSQL_ROOT_PASSWORD: ce-dev
Original file line number Diff line number Diff line change @@ -76,27 +76,7 @@ test_project(){
7676 echo " $1 "
7777}
7878
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-
9579for PROJECT in $PROJECTS ; do
9680 create_project " $PROJECT "
9781 test_project " $PROJECT "
98- build_project " $PROJECT "
99- if [ $PUSH = " yes" ]; then
100- push_project " $PROJECT "
101- fi
10282done
You can’t perform that action at this time.
0 commit comments