Add woodpecker
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Mike 2024-11-17 13:52:35 +00:00
parent 52f31a77aa
commit 04d2ec37e8
2 changed files with 30 additions and 0 deletions

18
.woodpecker.yml Normal file
View file

@ -0,0 +1,18 @@
when:
- event: [push, tag, pull_request_closed]
branch: main
steps:
- name: Build and Publish Docker Image
image: woodpeckerci/plugin-docker-buildx:4.2
settings:
platforms: linux/amd64
repo: ${CI_REG_HOST}:${CI_REG_PORT}/${CI_REPO_OWNER}/${CI_REPO_NAME}
tags: latest
registry: http://${CI_REG_HOST}:${CI_REG_PORT}
insecure: true
buildkit_config: "[registry.\"${CI_REG_HOST}:${CI_REG_PORT}\"]\n http = true\n insecure = true"
username:
from_secret: CI_REG_USER
password:
from_secret: CI_REG_TOKEN

12
README.md Normal file
View file

@ -0,0 +1,12 @@
# Galaeth API Server
Experimenting with different things
Run locally by cloning and using `docker compose up` - this will pull and create a postgres container, and run the api server which will connect to postgres.
Api can be accessed at `http://127.0.0.1:8080` and Swagger at `http://127.0.0.1/swagger`
Default username/password set in docker compose and/or appsettings.json
[![status-badge](https://wci.alveus.dev/api/badges/24/status.svg)](https://wci.alveus.dev/repos/24)