1 Commits

Author SHA1 Message Date
argoyle 6d89f43ca4 ci: migrate from GitLab CI to Gitea Actions
geo-service / build (pull_request) Successful in 3m7s
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
2026-01-07 16:41:20 +01:00
2 changed files with 6 additions and 8 deletions
+5 -7
View File
@@ -10,26 +10,24 @@ jobs:
build:
runs-on: ubuntu-latest
env:
BUILDTOOLS_CONTENT: ${{ vars.BUILDTOOLS_CONTENT }}
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
GITEA_REPOSITORY: ${{ gitea.repository }}
steps:
- uses: actions/checkout@v4
- uses: buildtool/setup-buildtools-action@v1
with:
debug-log: true
- name: Build and push
run: build && push
run: unset GITEA_TOKEN && build && push
deploy-prod:
needs: build
if: gitea.ref == 'refs/heads/master'
runs-on: ubuntu-latest
env:
BUILDTOOLS_CONTENT: ${{ vars.BUILDTOOLS_CONTENT }}
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
GITEA_REPOSITORY: ${{ gitea.repository }}
environment: prod
steps:
- uses: actions/checkout@v4
- uses: buildtool/setup-buildtools-action@v1
with:
debug-log: true
- name: Deploy
run: deploy prod
+1 -1
View File
@@ -41,7 +41,7 @@ spec:
requests:
memory: "100Mi"
imagePullPolicy: Always
image: oci.unbound.se/unboundsoftware/dancefinder/geo-service:${COMMIT}
image: oci.unbound.se/dancefinder/geo-service:${COMMIT}
ports:
- containerPort: 80
name: http