From 7ef590b6aa35dfe34cdd592621c2ce476589729d Mon Sep 17 00:00:00 2001 From: LordMathis Date: Wed, 31 Jan 2024 11:58:17 +0100 Subject: [PATCH] Fix release workflow trigger --- .gitea/workflows/release.yaml | 8 +++++--- .gitea/workflows/tag.yaml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index d4eb807..3566621 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -1,10 +1,12 @@ -name: Build website container +name: Build and push mlflow container on: - push: tags + push: + tags: + - '[0-9]+.[0-9]+.[0-9]+' jobs: build: - name: Build image + name: Build and push mlflow container runs-on: ubuntu-latest container: ghcr.io/catthehacker/ubuntu:act-latest@sha256:8583ed2b7d097609ff91cc914696324ee945ceb8639967759f4cebbfcb8e63a5 env: diff --git a/.gitea/workflows/tag.yaml b/.gitea/workflows/tag.yaml index b91b954..3657bfa 100644 --- a/.gitea/workflows/tag.yaml +++ b/.gitea/workflows/tag.yaml @@ -6,7 +6,7 @@ on: jobs: build: - name: Build image + name: Create mlflow tag runs-on: ubuntu-latest container: ghcr.io/catthehacker/ubuntu:act-latest@sha256:8583ed2b7d097609ff91cc914696324ee945ceb8639967759f4cebbfcb8e63a5 steps: