3 Commits

Author SHA1 Message Date
Millaguie
436a7e25d4 fix(ci): use REGISTRY secrets for container registry login
Some checks failed
Auto Tag on Merge to Main / auto-tag (push) Failing after 2s
CI - Lint and Build / build-frontend (push) Successful in 14s
Release - Build and Publish Docker Images / build-and-publish (push) Successful in 1m9s
CI - Lint and Build / lint-backend (push) Successful in 14s
CI - Lint and Build / lint-frontend (push) Successful in 13s
CI - Lint and Build / docker-build-test (push) Successful in 36s
GITHUB_TOKEN doesn't have container registry permissions in Gitea.
Use dedicated REGISTRY_USERNAME and REGISTRY_PASSWORD secrets.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 00:43:42 +01:00
Millaguie
24a08e405f fix(ci): use hardcoded registry URL without https prefix
Some checks failed
Auto Tag on Merge to Main / auto-tag (push) Successful in 2s
CI - Lint and Build / lint-backend (push) Successful in 18s
CI - Lint and Build / lint-frontend (push) Successful in 11s
Release - Build and Publish Docker Images / build-and-publish (push) Failing after 9s
CI - Lint and Build / build-frontend (push) Successful in 14s
CI - Lint and Build / docker-build-test (push) Has been cancelled
Docker login requires registry URL without protocol prefix.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 00:42:09 +01:00
Millaguie
c9e6c1970c fix(ci): remove npm cache dependency on package-lock.json
Some checks failed
Auto Tag on Merge to Main / auto-tag (push) Successful in 3s
CI - Lint and Build / lint-backend (push) Successful in 18s
CI - Lint and Build / lint-frontend (push) Successful in 15s
CI - Lint and Build / build-frontend (push) Successful in 14s
CI - Lint and Build / docker-build-test (push) Successful in 1m38s
Release - Build and Publish Docker Images / build-and-publish (push) Failing after 21s
Use npm install instead of npm ci since package-lock.json files
are not committed to the repository.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 00:34:10 +01:00
2 changed files with 6 additions and 12 deletions

View File

@@ -20,13 +20,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: backend/package-lock.json
- name: Install backend dependencies
run: |
cd backend
npm ci
npm install
- name: Run ESLint (backend)
run: |
@@ -48,13 +46,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install frontend dependencies
run: |
cd frontend
npm ci
npm install
- name: Run ESLint (frontend)
run: |
@@ -72,13 +68,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install frontend dependencies
run: |
cd frontend
npm ci
npm install
- name: Build frontend
run: |

View File

@@ -29,9 +29,9 @@ jobs:
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: ${{ github.server_url }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: tea.millaguie.net
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push backend image
uses: docker/build-push-action@v5