forked from mirrors/protonmail-bridge-docker
CI: automatic builds (#1)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Adds CI pipelines to build and push the project to the Gitea Docker repository. Co-authored-by: Julien Valverdé <julien.valverde@mailo.com> Reviewed-on: https://git.jvalver.de/Thilawyn/protonmail-bridge-docker/pulls/1
This commit was merged in pull request #1.
This commit is contained in:
51
.drone.yml
Normal file
51
.drone.yml
Normal file
@@ -0,0 +1,51 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: docker-build
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.jvalver.de
|
||||
username:
|
||||
from_secret: username
|
||||
password:
|
||||
from_secret: password
|
||||
repo: git.jvalver.de/thilawyn/protonmail-bridge-docker
|
||||
dockerfile: build/Dockerfile
|
||||
dry_run: true
|
||||
context: build
|
||||
autotag: true
|
||||
compress: true
|
||||
platform: linux/amd64
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
exclude:
|
||||
- master
|
||||
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: docker-build-and-publish
|
||||
|
||||
steps:
|
||||
- name: build-and-publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.jvalver.de
|
||||
username:
|
||||
from_secret: username
|
||||
password:
|
||||
from_secret: password
|
||||
repo: git.jvalver.de/thilawyn/protonmail-bridge-docker
|
||||
dockerfile: build/Dockerfile
|
||||
context: build
|
||||
autotag: true
|
||||
compress: true
|
||||
platform: linux/amd64
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
Reference in New Issue
Block a user