Merge pull request #72 from HideyoshiSolutions/develop

develop - fix: fixes decrypt secrets ci
This commit is contained in:
2025-11-07 21:45:24 -03:00
committed by GitHub

View File

@@ -2,6 +2,11 @@ name: ci
on:
push:
workflow_dispatch:
inputs:
tag:
description: 'Tag to deploy'
required: false
jobs:
build:
@@ -122,7 +127,7 @@ jobs:
SHORT_SHA=$(echo "${GITHUB_SHA}" | cut -c1-7)
IMAGE_BASE="ghcr.io/${OWNER}/${REPO}"
IMAGE_TAG="sha-${SHORT_SHA}"
IMAGE_TAG=${{ github.event.inputs.tag || format('sha-{0}', github.sha) }}
echo "IMAGE_BASE=${IMAGE_BASE}" >> $GITHUB_ENV
echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_ENV
@@ -139,7 +144,7 @@ jobs:
- name: Decrypt SOPS Secrets Test
run: |
cd .k8s
sops -d secrets.enc.yml secrets.yml
sops -d secrets.enc.yml > secrets.yml
- name: Apply Kubernetes Manifests - Configuration
run: cat .k8s/config.template.yml | envsubst | kubectl apply -f -