Skip to content

build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /srcs/inventory-app #23

build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /srcs/inventory-app

build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /srcs/inventory-app #23

name: 🐳 On Master - Build and Test Docker Image
on:
push:
branches: ["master"]
jobs:
build-image:
name: 🏗️ Build Image
runs-on: ubuntu-latest
steps:
- name: 🐧 Checkout
uses: actions/checkout@v3
- name: 📦 Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: 🐳 Login to docker.01-edu.org Registry
uses: docker/login-action@v2
with:
registry: docker.01-edu.org
username: ${{ secrets.USER_DOCKER_01EDU_ORG }}
password: ${{ secrets.SECRET_DOCKER_01EDU_ORG }}
- name: 🏗️ Build the 💻 Postgres DB image
if: always()
run: |
docker build srcs/postgres-db/ --file srcs/postgres-db/Dockerfile --tag ghcr.io/01-edu/content-postgres-db
docker push ghcr.io/01-edu/content-postgres-db
- name: 🏗️ Build the 🚀 API Gateway image
if: always()
run: |
docker build srcs/api-gateway-app/ --file srcs/api-gateway-app/Dockerfile --tag ghcr.io/01-edu/content-api-gateway-app
docker push ghcr.io/01-edu/content-api-gateway-app
- name: 🏗️ Build the 💰 Billing App image
if: always()
run: |
docker build srcs/billing-app/ --file srcs/billing-app/Dockerfile --tag ghcr.io/01-edu/content-billing-app
docker push ghcr.io/01-edu/content-billing-app
- name: 🏗️ Build the 🧩 Inventory App image
if: always()
run: |
docker build srcs/inventory-app/ --file srcs/inventory-app/Dockerfile --tag ghcr.io/01-edu/content-inventory-app
docker push ghcr.io/01-edu/content-inventory-app
- name: 🏗️ Build the 🐰 Rabbitmq image
if: always()
run: |
docker build srcs/rabbitmq/ --file srcs/rabbitmq/Dockerfile --tag ghcr.io/01-edu/content-rabbitmq
docker push ghcr.io/01-edu/content-rabbitmq