ci: add kaniko action that builds nextcloud

This commit is contained in:
cătălin 2024-09-29 15:00:59 +02:00
commit 811b35832e
No known key found for this signature in database
4 changed files with 28 additions and 8 deletions

View file

@ -0,0 +1,24 @@
---
name: Kaniko deployments
on: # yamllint disable-line rule:truthy
push:
branches:
- 'main'
- 'ci/debug'
jobs:
nextcloud:
runs-on: ubuntu-22.04
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- name: Kaniko build
uses: aevea/action-kaniko@v0.13.0
with:
image: catalin/fukuops
username: kaniko
password: ${{ secrets.REGISTRY_PASSWORD }}
cache: true
registry: git.roboces.dev
tag: nextcloud-30.0.0
path: docker/nextcloud

View file

@ -5,7 +5,6 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- 'main'
- 'ci/debug'
jobs:
authentik:
@ -28,7 +27,9 @@ jobs:
TF_VAR_portainer_client_id: ${{ secrets.TF_VAR_portainer_client_id }}
TF_VAR_portainer_client_secret: ${{ secrets.TF_VAR_portainer_client_secret }}
TF_VAR_paperless_client_id: ${{ secrets.TF_VAR_paperless_client_id }}
TF_VAR_paperless_client_secret: ${{ secrets.TF_VAR_paperless_client_secret }}
TF_VAR_paperless_client_secret: ${{ secrets.TF_VAR_paperless_secret }}
TF_VAR_netbird_client_id: ${{ secrets.TF_VAR_netbird_client_id }}
TF_VAR_netbird_client_secret: ${{ secrets.TF_VAR_netbird_client_secret }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |

View file

@ -4,16 +4,10 @@ lint--pre-commit:
lint--kubeconform:
kubeconform -strict -ignore-missing-schemas k8s/
SHELl=/bin/bash
lint--kubescore:
kube-score score $$(find k8s -type f -print -name "*.yaml")
lint--tflint:
tflint --recursive
lint:
make lint--pre-commit
make lint--kubeconform
make lint--kube
make lint--tflint

View file

@ -2,3 +2,4 @@
[![Last build status](https://git.roboces.dev/catalin/fukuops/badges/workflows/ci.yaml/badge.svg)](https://git.roboces.dev/catalin/fukuops/actions)
[![Tofu deployments](https://git.roboces.dev/catalin/fukuops/badges/workflows/deploy-tofu.yaml/badge.svg)](https://git.roboces.dev/catalin/fukuops/actions)
[![Kaniko deployments](https://git.roboces.dev/catalin/fukuops/badges/workflows/deploy-kaniko.yaml/badge.svg)](https://git.roboces.dev/catalin/fukuops/actions)