Skip to content

Commit

Permalink
Merge pull request #749 from axel7083/chore/tag-on-release
Browse files Browse the repository at this point in the history
chore: tag model_servers images on release
  • Loading branch information
rhatdan authored Aug 13, 2024
2 parents 346e1a1 + 2130f92 commit 0ba38e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/model_servers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:
- 'model_servers/**'
- 'models/Makefile'
- .github/workflows/model_servers.yaml
tags:
- '*'

workflow_dispatch:

Expand Down Expand Up @@ -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 }}/

Expand Down

0 comments on commit 0ba38e0

Please sign in to comment.