Add build script
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Kieran 2024-01-10 10:00:12 +00:00
parent 800cdfbe0f
commit db323726d4
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
2 changed files with 21 additions and 0 deletions

20
.drone.yml Normal file
View File

@ -0,0 +1,20 @@
---
kind: pipeline
type: kubernetes
name: default
metadata:
namespace: git
steps:
- name: build
image: r.j3ss.co/img
privileged: true
environment:
TOKEN:
from_secret: gitea
commands:
- img login -u kieran -p $TOKEN git.v0l.io
- img build -t git.v0l.io/kieran/nostr-services:latest -f NostrServices/Dockerfile .
- img push git.v0l.io/kieran/nostr-services:latest

View File

@ -5,6 +5,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{52604625-FC24-4D1E-A152-637973A967F9}"
ProjectSection(SolutionItems) = preProject
docker-compose.yml = docker-compose.yml
.drone.yml = .drone.yml
EndProjectSection
EndProject
Global