feat: automatic releases on merge to main
- 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:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user