mirror of
https://github.com/smhaller/ldap-overleaf-sl.git
synced 2025-01-25 06:04:48 +01:00
Ajouter project.drone.yml
This commit is contained in:
37
project.drone.yml
Normal file
37
project.drone.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build-images
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
steps:
|
||||
- name: build-and-push-image
|
||||
image: plugins/docker
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: "/var/run/docker.sock"
|
||||
settings:
|
||||
username:
|
||||
from_secret: registry_username
|
||||
password:
|
||||
from_secret: registry_pwd
|
||||
repo: gargoton.coissac.eu/image/ldap-overleaf-sl-ci
|
||||
registry: gargoton.coissac.eu
|
||||
tags:
|
||||
- nightbuild
|
||||
dockerfile: ./Dockerfile # Where the Dockerfile is located in your git repository
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
Reference in New Issue
Block a user