Update .gitea/workflows/build.yaml

This commit is contained in:
2026-07-12 07:16:33 +00:00
parent 34ea05eabc
commit 256f8383f6
+6 -2
View File
@@ -48,9 +48,13 @@ jobs:
git config user.name "Cristian Felipe"
git config user.email "[email protected]"
# Reemplazo seguro apuntando a la versión semántica
# 1. Aseguramos que tenemos lo último del servidor
git pull origin main --rebase
# 2. Reemplazo del tag
sed -i -E "s|(image: gitea.cruzcloud.net/devops/ecommerce-frontend:).*|\1${{ steps.vars.outputs.VERSION }}|g" workloads/ecommerce/frontend.yaml
# 3. Commit y Push
git add workloads/ecommerce/frontend.yaml
git commit -m "chore: release ${{ steps.vars.outputs.VERSION }} [skip ci]" || echo "Sin cambios para hacer commit"
git push
git push origin main