Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
436a7e25d4 | ||
|
|
24a08e405f | ||
|
|
c9e6c1970c | ||
|
|
b9a7942962 |
@@ -20,13 +20,11 @@ jobs:
|
|||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
cache: 'npm'
|
|
||||||
cache-dependency-path: backend/package-lock.json
|
|
||||||
|
|
||||||
- name: Install backend dependencies
|
- name: Install backend dependencies
|
||||||
run: |
|
run: |
|
||||||
cd backend
|
cd backend
|
||||||
npm ci
|
npm install
|
||||||
|
|
||||||
- name: Run ESLint (backend)
|
- name: Run ESLint (backend)
|
||||||
run: |
|
run: |
|
||||||
@@ -48,13 +46,11 @@ jobs:
|
|||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
cache: 'npm'
|
|
||||||
cache-dependency-path: frontend/package-lock.json
|
|
||||||
|
|
||||||
- name: Install frontend dependencies
|
- name: Install frontend dependencies
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
cd frontend
|
||||||
npm ci
|
npm install
|
||||||
|
|
||||||
- name: Run ESLint (frontend)
|
- name: Run ESLint (frontend)
|
||||||
run: |
|
run: |
|
||||||
@@ -72,13 +68,11 @@ jobs:
|
|||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
cache: 'npm'
|
|
||||||
cache-dependency-path: frontend/package-lock.json
|
|
||||||
|
|
||||||
- name: Install frontend dependencies
|
- name: Install frontend dependencies
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
cd frontend
|
||||||
npm ci
|
npm install
|
||||||
|
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
- name: Login to Gitea Container Registry
|
- name: Login to Gitea Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ secrets.REGISTRY_URL }}
|
registry: tea.millaguie.net
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
@@ -43,8 +43,8 @@ jobs:
|
|||||||
BUILD_DATE=${{ steps.date.outputs.date }}
|
BUILD_DATE=${{ steps.date.outputs.date }}
|
||||||
GIT_COMMIT=${{ github.sha }}
|
GIT_COMMIT=${{ github.sha }}
|
||||||
tags: |
|
tags: |
|
||||||
${{ secrets.REGISTRY_URL }}/trenes/backend:${{ steps.version.outputs.version }}
|
tea.millaguie.net/millaguie/trenes-backend:${{ steps.version.outputs.version }}
|
||||||
${{ secrets.REGISTRY_URL }}/trenes/backend:latest
|
tea.millaguie.net/millaguie/trenes-backend:latest
|
||||||
provenance: false
|
provenance: false
|
||||||
sbom: false
|
sbom: false
|
||||||
|
|
||||||
@@ -60,17 +60,17 @@ jobs:
|
|||||||
BUILD_DATE=${{ steps.date.outputs.date }}
|
BUILD_DATE=${{ steps.date.outputs.date }}
|
||||||
GIT_COMMIT=${{ github.sha }}
|
GIT_COMMIT=${{ github.sha }}
|
||||||
tags: |
|
tags: |
|
||||||
${{ secrets.REGISTRY_URL }}/trenes/frontend:${{ steps.version.outputs.version }}
|
tea.millaguie.net/millaguie/trenes-frontend:${{ steps.version.outputs.version }}
|
||||||
${{ secrets.REGISTRY_URL }}/trenes/frontend:latest
|
tea.millaguie.net/millaguie/trenes-frontend:latest
|
||||||
provenance: false
|
provenance: false
|
||||||
sbom: false
|
sbom: false
|
||||||
|
|
||||||
- name: Summary
|
- name: Summary
|
||||||
run: |
|
run: |
|
||||||
echo "### Docker Images Published 🐳" >> $GITHUB_STEP_SUMMARY
|
echo "### Docker Images Published" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "" >> $GITHUB_STEP_SUMMARY
|
echo "" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "**Version:** ${{ steps.version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
|
echo "**Version:** ${{ steps.version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "" >> $GITHUB_STEP_SUMMARY
|
echo "" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "**Images:**" >> $GITHUB_STEP_SUMMARY
|
echo "**Images:**" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "- \`${{ secrets.REGISTRY_URL }}/trenes/backend:${{ steps.version.outputs.version }}\`" >> $GITHUB_STEP_SUMMARY
|
echo "- tea.millaguie.net/millaguie/trenes-backend:${{ steps.version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "- \`${{ secrets.REGISTRY_URL }}/trenes/frontend:${{ steps.version.outputs.version }}\`" >> $GITHUB_STEP_SUMMARY
|
echo "- tea.millaguie.net/millaguie/trenes-frontend:${{ steps.version.outputs.version }}" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|||||||
Reference in New Issue
Block a user