feat: automatic releases on merge to main
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

- Drone now triggers on push to main branch instead of Git tags
- Each merge produces two Docker tags: main-{commit-sha} and main-latest
- No manual Git tags needed — merging PR develop → main is the release
- Updated docs/DEVELOPMENT.md with new Git-flow workflow
- Updated CHANGELOG.md with automatic releases feature
This commit is contained in:
2026-10-29 00:39:31 +01:00
parent 0d6e0fa565
commit d4a6726930
4 changed files with 58 additions and 30 deletions
+4 -4
View File
@@ -4,7 +4,7 @@ name: build-and-push
trigger:
event:
- tag
- push
- pull_request
steps:
@@ -24,11 +24,11 @@ steps:
context: .
registry: gitea.jambotron.com
repo: gitea.jambotron.com/liosha84/htop-web
auto_tag: true
tags: ${DRONE_COMMIT_SHA:0:7},main-latest
username:
from_secret: REGISTRY_USERNAME
password:
from_secret: REGISTRY_PASSWORD
when:
event:
- tag
branch:
- main