sforkowany z mirror/composer-and-node-ci
Enable PHP7-latest build
rodzic
b6102b5872
commit
80daa2c335
|
@ -26,6 +26,29 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
tags: carlosalgms/composer-and-node-ci:latest,carlosalgms/composer-and-node-ci:php8
|
tags: carlosalgms/composer-and-node-ci:latest,carlosalgms/composer-and-node-ci:php8
|
||||||
|
|
||||||
|
|
||||||
|
build_7:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Login to Docker Hub
|
||||||
|
id: docker_login
|
||||||
|
uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Build 7 and push
|
||||||
|
id: docker_build
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
build-args: |
|
||||||
|
FROM_IMAGE=php:7-cli-alpine
|
||||||
|
tags: carlosalgms/composer-and-node-ci:php7
|
||||||
|
|
||||||
|
|
||||||
build_71:
|
build_71:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -4,6 +4,11 @@ build_8:
|
||||||
-t carlosalgms/composer-and-node-ci:latest \
|
-t carlosalgms/composer-and-node-ci:latest \
|
||||||
-t carlosalgms/composer-and-node-ci:php8
|
-t carlosalgms/composer-and-node-ci:php8
|
||||||
|
|
||||||
|
build_7:
|
||||||
|
docker build . --rm \
|
||||||
|
--build-arg=FROM_IMAGE="php:7-cli-alpine" \
|
||||||
|
-t carlosalgms/composer-and-node-ci:php7
|
||||||
|
|
||||||
build_71:
|
build_71:
|
||||||
docker build . --rm \
|
docker build . --rm \
|
||||||
-t carlosalgms/composer-and-node-ci:php7.1 \
|
-t carlosalgms/composer-and-node-ci:php7.1 \
|
||||||
|
|
Ładowanie…
Reference in New Issue