File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 12
12
IMAGE_NAME : ghcr.io/${{ github.repository }}
13
13
14
14
jobs :
15
- # test:
16
- # runs-on: ubuntu-latest
17
- # steps:
18
- # - uses: actions/checkout@v2
15
+ test :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@v2
19
19
20
- # - name: Run tests
21
- # run: |
22
- # if [ -f docker-compose.test.yml ]; then
23
- # docker-compose --file docker-compose.test.yml build
24
- # docker-compose --file docker-compose.test.yml run sut
25
- # else
26
- # docker build . --file Dockerfile
27
- # fi
20
+ - name : Run tests
21
+ run : |
22
+ if [ -f docker-compose.test.yml ]; then
23
+ docker-compose --file docker-compose.test.yml build
24
+ docker-compose --file docker-compose.test.yml run sut
25
+ else
26
+ docker build . --file Dockerfile
27
+ fi
28
28
push :
29
- # needs: test
29
+ needs : test
30
30
runs-on : ubuntu-latest
31
31
if : github.event_name == 'push'
32
32
steps :
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ services:
15
15
networks :
16
16
- back
17
17
prod :
18
- image : ghcr.io/gromov-io/vue-docker-nginx:0.0.2
18
+ image : ghcr.io/gromov-io/vue-docker-nginx:0.0.3
19
19
ports :
20
20
- 3002:80
21
21
networks :
You can’t perform that action at this time.
0 commit comments