Skip to content

Merge pull request #10 from cevi/feature/api_paging #10

Merge pull request #10 from cevi/feature/api_paging

Merge pull request #10 from cevi/feature/api_paging #10

Workflow file for this run

name: Productive / Deployment Build
on:
push:
branches:
- 'main'
jobs:
prodBuild:
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: Load .evn file from secrets
run: echo "${{ secrets.ENV_FILE }}" > .env
- name: 🏗️ Build the stack
run: docker-compose build
- name: 🚀 Push containers to registry
run: docker-compose push