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:
|
||||
push:
|
||||
@ -6,14 +6,28 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and push docker image
|
||||
name: Build and push docker images
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Build and push Docker images
|
||||
- name: Build neo4j
|
||||
uses: docker/build-push-action@v1.1.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
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