Skip to content

Commit acb0b67

Browse files
Tomkoooocursoragent
andcommitted
ci: shrink GHCR matrix and speed Docker builds; flat sorfeszt pints
Root cause of the ~22m run: packages/core changes rebuild every catalog image, and es2 added another heavy parallel job with no Buildx cache. Remove es2/sakkmed site apps from the deploy/GHCR catalog, add Buildx GHA layer cache + .dockerignore, and flatten Sörfeszt pint/beer fills so black copy stays readable. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 491c2d7 commit acb0b67

580 files changed

Lines changed: 133 additions & 2423 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.dockerignore‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Keep Docker build context lean (faster CI uploads + less COPY . noise).
2+
.git
3+
.github
4+
.cursor
5+
.claude
6+
**/node_modules
7+
**/.next
8+
**/dist
9+
uploads
10+
exports
11+
scripts/seed/backups
12+
*.log
13+
.env
14+
.env.*
15+
!.env.example
16+
portainer.stack.yml
17+
deployments.registry.local.md

‎.github/workflows/docker-publish.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ jobs:
8989
username: ${{ github.actor }}
9090
password: ${{ secrets.GITHUB_TOKEN }}
9191

92+
- name: Set up Docker Buildx
93+
uses: docker/setup-buildx-action@v3
94+
9295
- name: Lowercase image name
9396
id: image_name
9497
run: echo "value=$(echo '${{ github.repository_owner }}/webshop-engine' | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT"
@@ -101,6 +104,8 @@ jobs:
101104
tags: |
102105
${{ env.REGISTRY }}/${{ steps.image_name.outputs.value }}:${{ matrix.image_tag }}
103106
${{ env.REGISTRY }}/${{ steps.image_name.outputs.value }}:sha-${{ github.sha }}-${{ matrix.image_tag }}
107+
cache-from: type=gha,scope=${{ matrix.image_tag }}
108+
cache-to: type=gha,mode=max,scope=${{ matrix.image_tag }}
104109
build-args: |
105110
SITE_APP=${{ matrix.site_app }}
106111
SITE_APP_SERVER=${{ matrix.site_server }}

‎Dockerfile‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ COPY apps/sorfeszt/package.json ./apps/sorfeszt/
1212
COPY apps/dr-zsanett/package.json ./apps/dr-zsanett/
1313
COPY apps/world-darts-festival/package.json ./apps/world-darts-festival/
1414
COPY apps/eventstructure/package.json ./apps/eventstructure/
15-
COPY apps/es2/package.json ./apps/es2/
1615
COPY apps/tbook/package.json ./apps/tbook/
1716
COPY apps/keramia-implant/package.json ./apps/keramia-implant/
1817
COPY apps/keramia-fogfeherites/package.json ./apps/keramia-fogfeherites/
1918
COPY apps/nagyarcu-shop/package.json ./apps/nagyarcu-shop/
2019
COPY apps/minecraft-camp/package.json ./apps/minecraft-camp/
2120
COPY apps/erdweg/package.json ./apps/erdweg/
2221
COPY apps/cabinova/package.json ./apps/cabinova/
23-
COPY apps/sakkmed/package.json ./apps/sakkmed/
2422
COPY packages/sdk/package.json ./packages/sdk/
2523
COPY packages/core/package.json ./packages/core/
2624
COPY packages/admin/package.json ./packages/admin/

‎apps/es2/components.json‎

Lines changed: 0 additions & 23 deletions
This file was deleted.

‎apps/es2/next.config.ts‎

Lines changed: 0 additions & 49 deletions
This file was deleted.

‎apps/es2/package.json‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎apps/es2/postcss.config.mjs‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎apps/es2/public/file.svg‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎apps/es2/public/generic-favicon.svg‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎apps/es2/public/generic-hero.svg‎

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)