From 911266cd9ffd944e995cedbe66d9c0515ac7a545 Mon Sep 17 00:00:00 2001 From: Istvan Kispal Date: Wed, 6 Nov 2024 18:46:52 +0100 Subject: [PATCH] Trigger the container image builder Github action if a vX.Y.Z tag is pushed to the nephio-project/porch repo --- .github/workflows/dev-image-build.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dev-image-build.yaml b/.github/workflows/dev-image-build.yaml index 216c5e4d..53412c13 100644 --- a/.github/workflows/dev-image-build.yaml +++ b/.github/workflows/dev-image-build.yaml @@ -4,6 +4,9 @@ on: push: branches: - main + tags: + - "v[0-9]+.[0-9]+.[0-9]" + - "v[0-9]+.[0-9]+.[0-9]-pre[0-9]+" paths-ignore: - "docs/**" - "release/**" @@ -73,7 +76,7 @@ jobs: push: true tags: | ${{ steps.meta.outputs.tags }} - ${{ matrix.image }}:latest + ${{ matrix.image }}:${{ github.ref_name == 'main' && 'latest' || github.ref_name }} labels: ${{ steps.meta.outputs.labels }} no-cache: true sbom: true