File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 8080 file : ./images/8.2/Dockerfile-alpine
8181 push : true
8282 tags : umutphp/php-docker-images-for-ci:8.2-alpine
83+ -
84+ name : Build And Push latest-alpine
85+ uses : docker/build-push-action@v2
86+ with :
87+ context : .
88+ file : ./images/8.2/Dockerfile-alpine
89+ push : true
90+ tags : umutphp/php-docker-images-for-ci:latest-alpine
8391 -
8492 name : Build And Push 7.1
8593 uses : docker/build-push-action@v2
@@ -129,4 +137,11 @@ jobs:
129137 context : ./images/8.2/
130138 push : true
131139 tags : umutphp/php-docker-images-for-ci:8.2
140+ -
141+ name : Build And Push latest
142+ uses : docker/build-push-action@v2
143+ with :
144+ context : ./images/8.2/
145+ push : true
146+ tags : umutphp/php-docker-images-for-ci:latest
132147
Original file line number Diff line number Diff line change 2020 echo " Image is pushed to remote"
2121 echo " ********************************************************"
2222done
23+
24+ # build latest tag
25+ echo " ********************************************************"
26+ echo " Building image php:latest
27+ echo " ******************************************************** "
28+ cd images/8.2/
29+ docker build -t umutphp/php-docker-images-for-ci:latest .
30+ docker push umutphp/php-docker-images-for-ci:latest
31+ cd -
32+ echo " ******************************************************** "
33+ echo " Image is pushed to remote"
34+ echo " ******************************************************** "
Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ RUN mkdir -p /tools/edsonmedina/php_testability && \
128128RUN composer global config --no-plugins allow-plugins.ergebnis/composer-normalize true && composer global require ergebnis/composer-normalize
129129
130130# Install infection/infection for mutation testing
131+ RUN apk add --update linux-headers && rm -rf /var/cache/apk/*
131132RUN pecl install xdebug && docker-php-ext-enable xdebug && docker-php-ext-configure zip && docker-php-ext-install zip
132133RUN composer global config --no-plugins allow-plugins.infection/extension-installer true && composer global require infection/infection
133134
You can’t perform that action at this time.
0 commit comments