docs: add project overview
Build & Push Docker Image (Backend) / build (push) Failing after 3m33s

This commit is contained in:
Flook
2026-04-26 10:05:41 +07:00
parent bca709b071
commit bdd83f8c35
2 changed files with 77 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
name: Build & Push Docker Image (Backend)
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
YOUR_DH_USER/lms-backend:latest
YOUR_DH_USER/lms-backend:${{ gitea.sha }}