From 2130f92cc620c1b0bd6d119b3bf400c0bf6bcdb2 Mon Sep 17 00:00:00 2001 From: axel7083 <42176370+axel7083@users.noreply.github.com> Date: Fri, 9 Aug 2024 10:38:58 +0200 Subject: [PATCH] chore: tag model_servers images on release Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com> fix: missing $ Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com> --- .github/workflows/model_servers.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/model_servers.yaml b/.github/workflows/model_servers.yaml index 586f063e..89961a39 100644 --- a/.github/workflows/model_servers.yaml +++ b/.github/workflows/model_servers.yaml @@ -15,6 +15,8 @@ on: - 'model_servers/**' - 'models/Makefile' - .github/workflows/model_servers.yaml + tags: + - '*' workflow_dispatch: @@ -97,7 +99,7 @@ jobs: with: image: ${{ env.REGISTRY }}/${{ github.repository_owner}}/${{ matrix.image_name }} platforms: ${{ matrix.platforms }} - tags: latest + tags: latest ${{ github.ref_type == 'tag' && github.ref_name || '' }} containerfiles: ./model_servers/${{ matrix.directory }}/${{ matrix.flavor }}/Containerfile context: model_servers/${{ matrix.directory }}/