From b4dc46e0c9de8d91e6b30fa1c46a67d9199fb888 Mon Sep 17 00:00:00 2001 From: roschaefer Date: Thu, 4 Jun 2020 14:47:01 +0200 Subject: [PATCH] Push docker images --- .github/workflows/cd.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ed3cfcb..2543a2c 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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/