🐳 On Master - Build Content Postgres DB Docker Image #2
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: 🐳 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@v4 | |
- 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 }} |