7 Commits

Author SHA1 Message Date
6d00d7cf32 ci: use GITHUB_TOKEN secret for Gitea registry login compatibility
Some checks failed
CI / lint-and-test (push) Failing after 2m40s
Release / build-and-push (push) Failing after 20s
2026-04-16 12:12:59 +02:00
de9ea45e1e chore(release): bump version to 1.0.2
Some checks failed
CI / lint-and-test (push) Has been cancelled
Release / build-and-push (push) Has been cancelled
2026-04-16 12:12:08 +02:00
bade860fd4 ci: push Docker images to Gitea container registry on release tags
Some checks failed
CI / lint-and-test (push) Has been cancelled
- Update release workflow to build and push to git.cqre.net/cqrenet/aoc-backend
- Update docker-compose.yml to pull from Gitea registry
2026-04-16 12:11:38 +02:00
9f4601c4d9 ci: migrate workflows from GitHub Actions to Gitea Actions
Some checks failed
CI / lint-and-test (push) Has been cancelled
- Move CI workflow from .github/workflows/ to .gitea/workflows/
- Add Gitea Actions release workflow for tag builds
- Remove GitHub-specific release workflow
2026-04-16 11:55:23 +02:00
194858490d chore(release): update docker-compose image to v1.0.1
Some checks failed
CI / lint-and-test (push) Has been cancelled
Release / build-and-push (push) Failing after 6m17s
2026-04-16 11:41:16 +02:00
153ae05114 chore(release): bump VERSION to 1.0.1
Some checks failed
CI / lint-and-test (push) Has been cancelled
2026-04-16 11:40:49 +02:00
9dba33aa9f chore(release): add v1.0.0 versioning, release workflow, and versioned docker image
- Add VERSION file (1.0.0)
- Add GitHub Actions release workflow to build and push Docker images to ghcr.io
- Update docker-compose.yml to pull ghcr.io/cqrenet/aoc-backend:v1.0.0 by default
2026-04-16 11:40:28 +02:00
4 changed files with 25 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
name: Release
on:
push:
tags:
- "v*"
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to Gitea Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login git.cqre.net -u ${{ gitea.actor }} --password-stdin
- name: Build Docker image
run: docker build ./backend --tag git.cqre.net/cqrenet/aoc-backend:${{ gitea.ref_name }}
- name: Push Docker image
run: docker push git.cqre.net/cqrenet/aoc-backend:${{ gitea.ref_name }}

1
VERSION Normal file
View File

@@ -0,0 +1 @@
1.0.2

View File

@@ -12,7 +12,8 @@ services:
- mongo_data:/data/db - mongo_data:/data/db
backend: backend:
build: ./backend # For local development you can switch back to: build: ./backend
image: git.cqre.net/cqrenet/aoc-backend:v1.0.2
container_name: aoc-backend container_name: aoc-backend
restart: always restart: always
env_file: env_file: