Push docker images
This commit is contained in:
parent
f26f83d5ef
commit
b4dc46e0c9
20
.github/workflows/cd.yml
vendored
20
.github/workflows/cd.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Continuous deployment
|
name: CD
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -6,14 +6,28 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build and push docker image
|
name: Build and push docker images
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Build and push Docker images
|
- name: Build neo4j
|
||||||
uses: docker/build-push-action@v1.1.0
|
uses: docker/build-push-action@v1.1.0
|
||||||
with:
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
path: fyphe_O/neo4j/
|
path: fyphe_O/neo4j/
|
||||||
|
- name: Build backend
|
||||||
|
uses: docker/build-push-action@v1.1.0
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
path: fyphe_O/backend/
|
||||||
|
- name: Build webapp
|
||||||
|
uses: docker/build-push-action@v1.1.0
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
path: fyphe_O/webapp/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user