Skip to content

Commit 38c514f

Browse files
committed
sync
1 parent 22bd4d1 commit 38c514f

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/docker-publish.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ env:
1212
IMAGE_NAME: ghcr.io/${{ github.repository }}
1313

1414
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
1919

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
2828
push:
29-
# needs: test
29+
needs: test
3030
runs-on: ubuntu-latest
3131
if: github.event_name == 'push'
3232
steps:

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
networks:
1616
- back
1717
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
1919
ports:
2020
- 3002:80
2121
networks:

0 commit comments

Comments
 (0)