3 Commits

Author SHA1 Message Date
argoyle acfd041884 ci: add KUBECONFIG_CONTENT secret to deploy job
dancefetcher / build (pull_request) Successful in 7m33s
dancefetcher / deploy-prod (pull_request) Has been skipped
2026-01-07 17:12:24 +01:00
argoyle 87778defbf Merge pull request 'ci: migrate from GitLab CI to Gitea Actions' (#144) from ci-migrate-gitlab-to-gitea-actions into master
dancefetcher / build (push) Successful in 5m41s
dancefetcher / deploy-prod (push) Failing after 6s
Reviewed-on: #144
2026-01-07 15:56:26 +00:00
argoyle cfe50f4db3 ci: migrate from GitLab CI to Gitea Actions
dancefetcher / build (pull_request) Successful in 4m36s
dancefetcher / 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:39:19 +01:00
2 changed files with 35 additions and 1 deletions
+34
View File
@@ -0,0 +1,34 @@
name: dancefetcher
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 }}
KUBECONFIG_CONTENT: ${{ secrets.KUBECONFIG_CONTENT }}
environment: prod
steps:
- uses: actions/checkout@v4
- uses: buildtool/setup-buildtools-action@v1
- name: Deploy
run: deploy prod
+1 -1
View File
@@ -13,7 +13,7 @@ spec:
spec:
containers:
- name: dancefetcher
image: registry.gitlab.com/unboundsoftware/dancefinder/dancefetcher:${COMMIT}
image: oci.unbound.se/dancefinder/dancefetcher:${COMMIT}
imagePullPolicy: Always
resources:
limits: