Files
shared-actions/examples/documentazione/release.yml
T
LucaZanni 53b1c7a9c4 feat(examples): aggiungi template documentazione Nuxt 4
- ci.yml: quality-gates condivisi con paths-ignore su content/**
- release.yml: docker-release + auto-release con needs
- maintenance.yml: schedule martedì 02:00 audit, 1° mese 03:00 outdated

refs #1 @25m
2026-06-06 13:28:46 +02:00

30 lines
955 B
YAML

# Copia in: .gitea/workflows/release.yml
# Trigger: git tag v* → build Docker + crea release Gitea
#
# NOTA: auto-release attende docker-release via needs.
# Workaround Gitea bug #31900: token esplicito nel checkout di auto-release.yml.
#
# Secrets richiesti nel repository consumer:
# NPM_TOKEN — accesso registry @pzeta (npm install + Docker secret)
# G_USER — username Docker registry Gitea
name: Release
on:
push:
tags:
- 'v*'
jobs:
docker-release:
runs-on: catthehacker-latest # workaround Gitea bug #34986: runs-on non rispettato in workflow_call
uses: https://gitea.pzetatouch.it/devops/shared-actions/.gitea/workflows/docker-release.yml@v1
secrets: inherit
with:
runner: catthehacker-latest # runner con Docker pre-installato
auto-release:
needs: [docker-release]
uses: https://gitea.pzetatouch.it/devops/shared-actions/.gitea/workflows/auto-release.yml@v1
secrets: inherit