ci: migrate from GitLab CI to Gitea Actions
geo-service / build (pull_request) Failing after 55s
geo-service / deploy-prod (pull_request) Has been skipped

- Add Gitea Actions workflow (.gitea/workflows/ci.yaml)
- Update K8s deployment image registry to oci.unbound.se
This commit is contained in:
2026-01-06 13:08:56 +01:00
parent 9e7b17fa52
commit 2d24ef8dee
2 changed files with 34 additions and 1 deletions
+33
View File
@@ -0,0 +1,33 @@
name: geo-service
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
env:
BUILDTOOLS_CONTENT: ${{ vars.BUILDTOOLS_CONTENT }}
steps:
- uses: actions/checkout@v4
- uses: buildtool/setup-buildtools-action@v1
- name: Check buildtools on path
run: which build && which push
- name: Build and push
run: build && push
deploy-prod:
needs: build
if: gitea.ref == 'refs/heads/master'
runs-on: ubuntu-latest
env:
BUILDTOOLS_CONTENT: ${{ vars.BUILDTOOLS_CONTENT }}
environment: prod
steps:
- uses: actions/checkout@v4
- uses: buildtool/setup-buildtools-action@v1
- name: Deploy
run: deploy prod
+1 -1
View File
@@ -41,7 +41,7 @@ spec:
requests:
memory: "100Mi"
imagePullPolicy: Always
image: registry.gitlab.com/unboundsoftware/dancefinder/geo-service:${COMMIT}
image: oci.unbound.se/unboundsoftware/dancefinder/geo-service:${COMMIT}
ports:
- containerPort: 80
name: http