Skip to content

Commit 35b1221

Browse files
authored
ffff
fff
1 parent b6631bb commit 35b1221

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/main.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
3737
# Runs a single command using the runners shell
3838
- name: build nginx image
39-
run: docker-compose build nginx
39+
run: docker-compose build nginx php
4040

4141
- name: Login to DockerHub
4242
uses: docker/login-action@v1
@@ -47,6 +47,8 @@ jobs:
4747
name: Build and push
4848
run: |
4949
docker login --username=batcom --password=${{ secrets.DOCKER_PASSWORD }}
50-
docker tag dnmp_nginx:latest batcom/dnmp
51-
docker push batcom/dnmp
50+
docker tag dnmp_nginx:latest batcom/dnmp_nginx
51+
docker tag dnmp_php:latest batcom/dnmp_php
52+
docker push batcom/dnmp_nginx
53+
docker push batcom/dnmp_php
5254

0 commit comments

Comments
 (0)