Files
htop-web/.drone.yml
T
Liosha84andJunie 0680557886
continuous-integration/drone/pr Build is failing
fix(drone): use 'master' branch instead of 'main' for build-and-push trigger
Co-authored-by: Junie <junie@jetbrains.com>
2026-10-29 01:13:10 +01:00

39 lines
663 B
YAML

kind: pipeline
type: docker
name: build-test
trigger:
event:
- pull_request
steps:
- name: build-test
image: plugins/docker
settings:
dockerfile: Dockerfile
context: .
---
kind: pipeline
type: docker
name: build-and-push
trigger:
event:
- push
branch:
- master
steps:
- name: build-and-push
image: plugins/docker
settings:
dockerfile: Dockerfile
context: .
registry: gitea.jambotron.com
repo: gitea.jambotron.com/liosha84/htop-web
tags: ${DRONE_COMMIT_SHA},main-latest
username:
from_secret: REGISTRY_USERNAME
password:
from_secret: REGISTRY_PASSWORD