-
Notifications
You must be signed in to change notification settings - Fork 4
44 lines (34 loc) · 985 Bytes
/
make.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Develop docker test
on: [ push, pull_request ]
env:
REGISTRY: docker.pkg.github.com/hose1021/devhub
REGISTRY_HOST: docker.pkg.github.com
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: symfonycorp/security-checker-action@v2
- name: Cache composer
uses: actions/cache@v2
with:
path: vendor
key: composer-${{ hashFiles('composer.lock') }}
- name: Docker login
uses: azure/docker-login@v1
with:
login-server: ${{ env.REGISTRY_HOST }}
username: hose1021
password: ${{ github.token }}
- name: Docker build
run: make docker-build
- name: Composer install
run: make composer-install
- name: Docker up
run: make docker-up
- name: Copy .env
run: make env
- name: Generate key
run: make key
- name: Storage link create
run: make storage