Files
geo-service/.gitea/workflows/ci.yaml
T
argoyle 6d89f43ca4
geo-service / build (pull_request) Successful in 3m7s
geo-service / deploy-prod (pull_request) Has been skipped
ci: migrate from GitLab CI to Gitea Actions
- 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

34 lines
808 B
YAML

name: geo-service
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
env:
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
GITEA_REPOSITORY: ${{ gitea.repository }}
steps:
- uses: actions/checkout@v4
- uses: buildtool/setup-buildtools-action@v1
- name: Build and push
run: unset GITEA_TOKEN && build && push
deploy-prod:
needs: build
if: gitea.ref == 'refs/heads/master'
runs-on: ubuntu-latest
env:
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
GITEA_REPOSITORY: ${{ gitea.repository }}
environment: prod
steps:
- uses: actions/checkout@v4
- uses: buildtool/setup-buildtools-action@v1
- name: Deploy
run: deploy prod