Skip to content

🐳 On Master - Build Content Postgres DB Docker Image #1

🐳 On Master - Build Content Postgres DB Docker Image

🐳 On Master - Build Content Postgres DB Docker Image #1

name: 🐳 On Master - Build Content Postgres DB Docker Image
on:
push:
branches:
- "master"
paths:
- "srcs/postgres-db/**"
workflow_dispatch:
jobs:
build-image:
name: 🏗️ Build Image
runs-on: ubuntu-latest
steps:
- name: 🐧 Checkout
uses: actions/checkout@v3
- name: 🏗️ Build the 💻 Postgres DB image
uses: ./.github/actions/build-image
with:
image-name: ghcr.io/01-edu/content-postgres-db:latest
src-dir: srcs/postgres-db/
gh-token: ${{ secrets.GITHUB_TOKEN }}
docker-un: ${{ secrets.USER_DOCKER_01EDU_ORG }}
docker-pw: ${{ secrets.SECRET_DOCKER_01EDU_ORG }}