Skip to content

BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications.

ci(actions)

Christiand96be0ea27bf
diff --git a/.github/workflows/tags.yaml b/.github/workflows/tags.yaml
index df6f401..a25c0b8 100644
--- a/.github/workflows/tags.yaml
+++ b/.github/workflows/tags.yaml
@@ -8,6 +8,9 @@ on:
jobs:
build-and-push:
runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ packages: write
steps:
- name: Checkout code
@@ -50,7 +53,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
- password: ${{ secrets.GITHUB_TOKEN }}
+ password: ${{ secrets.GHCR_TOKEN }}
- name: Extract metadata
id: meta
diff --git a/Makefile b/Makefile
index e706fea..cb9dc03 100644
--- a/Makefile
+++ b/Makefile
@@ -100,4 +100,13 @@ container-release:
git tag -s v$$VERSION -m "Release v$$VERSION"
docker push ghcr.io/lumen-labs/brainapi:v$$VERSION
docker push ghcr.io/lumen-labs/brainapi:latest
- git push origin v$$VERSION
\ No newline at end of file
+ git push origin v$$VERSION
+
+v-patch:
+ poetry version patch
+
+v-minor:
+ poetry version minor
+
+v-major:
+ poetry version major
\ No newline at end of file