Compare commits

...
3 Commits
Author SHA1 Message Date
aj b4211eac30 ci: fix MoneyMap Docker build context 2026-07-06 13:04:07 -04:00
aj 239daac422 ci: add Gitea Actions workflow to build and push Docker image 2026-07-06 09:42:59 -04:00
aj 9281211c24 ci: use master branch (not main) 2026-07-05 22:24:18 -04:00
+29
View File
@@ -0,0 +1,29 @@
name: Build MoneyMap image
on:
push:
branches: [master]
paths:
- "MoneyMap/**"
- "MoneyMap.Core/**"
- "MoneyMap.Mcp/**"
- "MoneyMap/Dockerfile"
- ".gitea/workflows/build-moneymap.yml"
workflow_dispatch: {}
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to Gitea container registry
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.thecozycat.net -u "${{ gitea.actor }}" --password-stdin
- name: Build image
run: docker build -f MoneyMap/Dockerfile -t git.thecozycat.net/${{ gitea.repository_owner }}/moneymap:latest -t git.thecozycat.net/${{ gitea.repository_owner }}/moneymap:${{ gitea.sha }} .
- name: Push image
run: |
docker push git.thecozycat.net/${{ gitea.repository_owner }}/moneymap:latest
docker push git.thecozycat.net/${{ gitea.repository_owner }}/moneymap:${{ gitea.sha }}