Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Release

on:
push:
branches:
- main
tags:
- "v*"
workflow_dispatch:
Expand Down Expand Up @@ -39,8 +41,10 @@ jobs:
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=main,enable={{is_default_branch}}
type=sha,prefix=sha-
type=ref,event=tag
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') }}

- name: Build and push image
uses: docker/build-push-action@v6
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ The compose file mounts `bot_database.db` so voice statistics survive container
- Slash commands can take a minute to appear globally after the first startup.
- Existing databases continue to work. User names are refreshed automatically as members interact again.
- Notification on/off state is stored in SQLite.
- CI and release now use only standard GitHub-hosted runners and GHCR publishing.
- Pushes to `main` now publish Docker images to GHCR with `latest`, `main`, and `sha-*` tags.
- Version tags like `v1.2.3` also create a GitHub release.

## Portugues

Expand Down
Loading