3ee135b020
- aggiunta runs-on: catthehacker-latest per aggirare bug #34986 - commento esplicativo sul motivo della modifica - garantita corretta esecuzione workflow_call su Gitea
25 lines
749 B
YAML
25 lines
749 B
YAML
# Copia in: .gitea/workflows/release.yml
|
|
# Trigger: git tag v* → build Docker + crea release Gitea
|
|
#
|
|
# NOTA: i job girano in parallelo (non sequenziali con needs).
|
|
# Gitea bug #31900: needs + workflow_call + checkout causa errori di autenticazione.
|
|
|
|
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.com/Punga78/shared-actions/.gitea/workflows/docker-release.yml@v1
|
|
secrets: inherit
|
|
with:
|
|
runner: catthehacker-latest # runner con Docker pre-installato
|
|
|
|
auto-release:
|
|
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/auto-release.yml@v1
|
|
secrets: inherit
|