Compare commits

..

8 Commits

3 changed files with 5 additions and 15 deletions
+1 -10
View File
@@ -64,17 +64,8 @@ jobs:
if: inputs.skip_shared_secrets_deployment != 'true'
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: https://gitea.t000-n.de/t.behrendt/k_deploy_actions/.gitea/actions/extract-namespace-from-repo-name@0.0.1
id: namespace
with:
repo: ${{ github.repository }}
- uses: azure/setup-kubectl@829323503d1be3d00ca8346e5391ca0b07a9ab0d # v5.1.0
- uses: azure/k8s-set-context@89b837d75b40a7bd2ddafde837473c212db8b313 # v5.0.0
with:
method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }}
- name: Set restic backup secret
uses: azure/k8s-create-secret@5e49ad902ac755e0815974a44904c728da961747 # v6.0.0
uses: azure/k8s-create-secret@6e0ba8047235646753f2a3a3b359b4d0006ff218 # v5.0.1
with:
namespace: ${{ steps.namespace.outputs.namespace }}
secret-name: backupsidecar-secret
+3 -4
View File
@@ -5,9 +5,8 @@ on:
branches:
- main
paths:
- ".gitea/workflows/deploy.yaml"
- ".gitea/workflows/validate.yaml"
workflow_dispatch:
- ".gitea/workflows/cd.yaml"
- ".gitea/workflows/ci.yaml"
jobs:
release:
@@ -23,6 +22,6 @@ jobs:
with:
token: ${{ secrets.GITEA_TOKEN }}
- name: Push tag
uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@38c1bbd8bad3e7965744d03de85faa4a5b808d1b # 0.2.4
uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@47a1c635cfc76cfb4eeee3db0d0b89bf19007c7a # 0.2.3
with:
tag: ${{ steps.tag.outputs.new-tag }}
+1 -1
View File
@@ -69,7 +69,7 @@ jobs:
method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }}
- name: Validate k8s manifests
uses: azure/k8s-lint@e4234c50ea835112e72b145bdecd00a94bad42fd # v4.0.0
uses: azure/k8s-lint@6aefe5066f95e73d2b140d8835cc95583b886989 # v3.0.1
with:
namespace: ${{ steps.namespace.outputs.namespace }}
lintType: dryrun