forked from catalin/fukuops
ci: add kaniko action that builds nextcloud
This commit is contained in:
parent
7165d219ac
commit
811b35832e
4 changed files with 28 additions and 8 deletions
24
.forgejo/workflows/deploy-kaniko.yaml
Normal file
24
.forgejo/workflows/deploy-kaniko.yaml
Normal 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
|
||||
|
|
@ -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: |
|
||||
|
|
|
|||
6
Makefile
6
Makefile
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -2,3 +2,4 @@
|
|||
|
||||
[](https://git.roboces.dev/catalin/fukuops/actions)
|
||||
[](https://git.roboces.dev/catalin/fukuops/actions)
|
||||
[](https://git.roboces.dev/catalin/fukuops/actions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue