Add DJANGO_MODULES_SETTINGS env var to Dockerfile #22
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: Robson Production CI/CD Pipeline | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Docker Login | |
uses: docker/[email protected] | |
with: | |
username: ${{secrets.DOCKERHUB_USER}} | |
password: ${{secrets.DOCKERHUB_PWD}} | |
- name: Build and push Docker frontend image | |
uses: docker/[email protected] | |
with: | |
context: ./frontends/web | |
file: ./frontends/web/docker/Dockerfile | |
push: true | |
tags: | | |
ldamasio/rbs-frontend-prod:0.0.${{github.run_number}} | |
ldamasio/rbs-frontend-prod:latest | |
- name: Build and push Docker monolith backend image | |
uses: docker/[email protected] | |
with: | |
context: ./backends/monolith | |
file: ./backends/monolith/docker/Dockerfile_django | |
push: true | |
tags: | | |
ldamasio/rbs-backend-monolith-prod:1.0.${{github.run_number}} | |
ldamasio/rbs-backend-monolith-prod:latest | |
- name: Build and push Docker monolith backend image | |
uses: docker/[email protected] | |
with: | |
context: ./backends/monolith | |
file: ./backends/monolith/docker/Dockerfile_nginx | |
push: true | |
tags: | | |
ldamasio/rbs-backend-nginx-prod:1.0.${{github.run_number}} | |
ldamasio/rbs-backend-nginx-prod:latest |