fix: fixes the decryption process in the ci
This commit is contained in:
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
@@ -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 -
|
||||||
|
|||||||
Reference in New Issue
Block a user