chore(release): выставить версию 1.0.0 во всех пакетах
Docker / build (push) Failing after 21s

- version 1.0.0 во всех package.json monorepo
- версия в GET /health и в меню пользователя (vite define)
- Docker: тег vX.Y.Z собирает образ :X.Y.Z и :X.Y, latest остаётся за main
- README: как закрепить версию образа

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
DenozordecandClaude Opus 5.5 committed 2026-11-07 09:41:50 +07:00
1 parent 85ac5b15cb
commit 68c5774df9
13 files changed
+49 -10

No files matched your search

+6 -2
View File
@@ -3,6 +3,8 @@ name: Docker
on:
push:
branches: [main]
# Релиз: тег vX.Y.Z → образ ghcr.io/…:X.Y.Z и :X.Y
tags: ['v*']
pull_request:
branches: [main]
@@ -20,7 +22,7 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registry
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: github.event_name == 'push'
uses: docker/login-action@v3
with:
registry: ghcr.io
@@ -34,12 +36,14 @@ jobs:
images: ghcr.io/${{ github.repository }}
tags: |
type=raw,value=latest,enable=${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
push: ${{ github.event_name == 'push' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}