mirror of
https://github.com/Dannecron/php-for-dev.git
synced 2025-12-25 16:12:35 +03:00
27 lines
606 B
YAML
27 lines
606 B
YAML
name: continious integration
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Build the Docker image
|
|
run: |
|
|
cd ./v7.2
|
|
docker build --tag=local-composer:7.2 `pwd`
|
|
docker run --rm local-composer:7.2 php -v
|
|
cd ..
|
|
|
|
# - name: Build the Docker image 7.3
|
|
# run: docker build --tag=local-composer:7.3 ./v7.3
|
|
|
|
# - name: Build the Docker image 7.4
|
|
# run: docker build --tag=local-composer:7.2 ./v7.2
|