fix: fixes the decryption process in the ci

This commit is contained in:
2025-11-07 21:40:10 -03:00
parent 8244f1d5e0
commit def0658089

View File

@@ -2,6 +2,12 @@ name: ci
on: on:
push: push:
workflow_dispatch:
inputs:
tag:
description: 'Tag to deploy'
required: false
default: 'latest'
jobs: jobs:
build: build:
@@ -139,7 +145,7 @@ jobs:
- name: Decrypt SOPS Secrets Test - name: Decrypt SOPS Secrets Test
run: | run: |
cd .k8s cd .k8s
sops -d secrets.enc.yml secrets.yml sops -d secrets.enc.yml > secrets.yml
- name: Apply Kubernetes Manifests - Configuration - name: Apply Kubernetes Manifests - Configuration
run: cat .k8s/config.template.yml | envsubst | kubectl apply -f - run: cat .k8s/config.template.yml | envsubst | kubectl apply -f -