This commit is contained in:
parent
ed361324dd
commit
ed9e75d57a
27
.drone.yml
Normal file
27
.drone.yml
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: budgeteer
|
||||
|
||||
steps:
|
||||
- name: Taskfile.dev
|
||||
image: hub.javil.eu/budgeteer:dev
|
||||
commands:
|
||||
- task build
|
||||
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: hub.javil.eu
|
||||
username:
|
||||
from_secret: docker_user
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: hub.javil.eu/budgeteer
|
||||
context: build
|
||||
dockerfile: build/Dockerfile
|
||||
tags:
|
||||
- latest
|
||||
|
||||
image_pull_secrets:
|
||||
- hub.javil.eu
|
3
Dockerfile.dev
Normal file
3
Dockerfile.dev
Normal file
@ -0,0 +1,3 @@
|
||||
FROM golang:1.17
|
||||
RUN go install github.com/kyleconroy/sqlc/cmd/sqlc@latest
|
||||
RUN go install github.com/go-task/task/v3/cmd/task@latest
|
3
build/Dockerfile
Normal file
3
build/Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM scratch
|
||||
COPY ./budgeteer /app/budgeteer
|
||||
ENTRYPOINT ["/app/budgeteer"]
|
Loading…
x
Reference in New Issue
Block a user