Docker, API proxy, Drone CI, .env

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Rafał Miczek
2026-02-13 19:58:25 +01:00
co-authored by Cursor
commit d5d4883917
76 changed files with 15170 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
kind: pipeline
type: docker
name: build-and-push
steps:
- name: test
image: oven/bun:1-alpine
commands:
- bun install --frozen-lockfile
- bun run test
- name: build
image: oven/bun:1-alpine
commands:
- bun install --frozen-lockfile
- bun run build:ssr
depends_on:
- test
- name: docker
image: plugins/docker
settings:
repo: registry.zea.lt/miczek/tracker
registry: registry.zea.lt
username:
from_secret: registry_username
password:
from_secret: registry_password
tags:
- latest
- ${DRONE_COMMIT_SHA:0:7}
when:
branch:
- main
- master
depends_on:
- build