add healthcheck #125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: DevBuild | |
on: | |
push: | |
branches: | |
- 'dev' | |
env: | |
ANGULAR_CONFIGURATION: dev_build | |
jobs: | |
devBuild: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the source code | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v2 | |
# Restores the cache if it exists. | |
- name: ⛏ Restore docker image from cache | |
uses: satackey/[email protected] | |
continue-on-error: true | |
- name: 🔐 Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
registry: registry.cevi.tools | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: 🏗️ Build the stack | |
run: docker-compose -f docker-compose.yml -f docker-compose.prod-dev.yml build | |
- name: 🚀 Push containers to registry | |
run: docker-compose -f docker-compose.yml -f docker-compose.prod-dev.yml push |