mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Docker: update for main branch transition
Triggers on 'main'
This commit is contained in:
@@ -12,10 +12,9 @@ name: Create and publish Docker images
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- v2-dev
|
- main # Primary branch (Big-AGI Open)
|
||||||
#- v1-stable # Disabled as the v* tag is used for stable releases
|
|
||||||
tags:
|
tags:
|
||||||
- 'v*' # Trigger on version tags (e.g., v1.7.0)
|
- 'v2.*' # Stable releases (v2.0.0, v2.1.0, etc.)
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
@@ -54,14 +53,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=development,enable=${{ github.ref == 'refs/heads/v2-dev' }} # For v2-dev branch
|
# Development: main branch
|
||||||
type=raw,value=stable,enable=${{ github.ref == 'refs/heads/v1-stable' }}
|
type=raw,value=development,enable=${{ github.ref == 'refs/heads/main' }}
|
||||||
type=ref,event=tag # Use the tag name as a tag for tag builds
|
|
||||||
type=semver,pattern={{version}} # Generate semantic versioning tags for tag builds
|
# Latest: v2.x releases (safe default)
|
||||||
type=sha,format=short,prefix=sha- # Just in case none of the above applies
|
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v2.') }}
|
||||||
|
|
||||||
|
# Stable: v2.x releases (alias)
|
||||||
|
type=raw,value=stable,enable=${{ startsWith(github.ref, 'refs/tags/v2.') }}
|
||||||
|
|
||||||
|
# Version tags (v2.0.0, 2.0.0)
|
||||||
|
type=ref,event=tag
|
||||||
|
type=semver,pattern={{version}}
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.title=Big-AGI
|
org.opencontainers.image.title=Big-AGI Open
|
||||||
org.opencontainers.image.description=Generative AI suite powered by state-of-the-art models
|
org.opencontainers.image.description=Big-AGI Open - Generative AI suite with support for latest models (o3, GPT-5 Pro, Gemini 2.0, DeepSeek R1) and modern architecture
|
||||||
org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
|
org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
|
||||||
org.opencontainers.image.documentation=https://big-agi.com
|
org.opencontainers.image.documentation=https://big-agi.com
|
||||||
|
|
||||||
|
|||||||
@@ -31,6 +31,12 @@ file.
|
|||||||
|
|
||||||
### Official Images: [ghcr.io/enricoros/big-agi](https://github.com/enricoros/big-agi/pkgs/container/big-agi)
|
### Official Images: [ghcr.io/enricoros/big-agi](https://github.com/enricoros/big-agi/pkgs/container/big-agi)
|
||||||
|
|
||||||
|
#### Available Tags
|
||||||
|
|
||||||
|
- **`:latest`** / **`:stable`** - Latest stable release (recommended)
|
||||||
|
- **`:development`** - Main branch (bleeding edge)
|
||||||
|
- **`:v2.0.0`** - Specific versions
|
||||||
|
|
||||||
#### Run using *docker* 🚀
|
#### Run using *docker* 🚀
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user