Skip to content

chore(deps): bump urllib3 from 2.0.7 to 2.2.2 in /srcs/api-gateway-app #5

chore(deps): bump urllib3 from 2.0.7 to 2.2.2 in /srcs/api-gateway-app

chore(deps): bump urllib3 from 2.0.7 to 2.2.2 in /srcs/api-gateway-app #5

name: 🌳 On Branch - Build Content API Gateway Docker Image
on:
pull_request:
branches: ["master"]
paths:
- "srcs/api-gateway-app/**"
jobs:
build-image:
name: 🏗️ Build Image
runs-on: ubuntu-latest
steps:
- name: 🐧 Checkout
uses: actions/checkout@v4
- name: 📦 Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: 🐳 Login to docker.01-edu.org Registry
uses: docker/login-action@v3
with:
registry: docker.01-edu.org
username: ${{ secrets.USER_DOCKER_01EDU_ORG }}
password: ${{ secrets.SECRET_DOCKER_01EDU_ORG }}
- name: 🏗️ Build the 🚀 API Gateway image
run: |
docker build srcs/api-gateway-app/ --file srcs/api-gateway-app/Dockerfile --tag ghcr.io/01-edu/content-api-gateway-app:PR${{ github.event.pull_request.number }}
docker push ghcr.io/01-edu/content-api-gateway-app:PR${{ github.event.pull_request.number }}