This repository was archived by the owner on Sep 14, 2026. It is now read-only.
Repository navigation
Merge pull request #22 from KKU-NoteFlow/feat/llm #2
This file contains hidden or 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: Docker Build & Push (Backend) | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - '**' | |
| - '!README.md' | |
| jobs: | |
| docker: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Log in to GHCR | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: ./Dockerfile | |
| push: true | |
| tags: | | |
| ghcr.io/${{ github.repository }}:backend-latest | |
| ghcr.io/${{ github.repository }}:backend-${{ github.sha }} | |