Skip to content

Commit

Permalink
ci(docker): add sam2 docker tags
Browse files Browse the repository at this point in the history
This commit ensures that the SAM2 docker has the right tags.
  • Loading branch information
rickstaa committed Sep 11, 2024
1 parent 847736d commit a8c0f58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ai-runner-pipelines-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
images: |
livepeer/ai-runner
tags: |
type=raw,value=sam2
type=raw,value=segment-anything-2
type=sha,prefix=sam2-
type=ref,event=pr,prefix=sam2-
type=ref,event=tag,prefix=sam2-
Expand All @@ -70,7 +72,7 @@ jobs:
type=semver,pattern={{version}},prefix=sam2-v
type=semver,pattern={{major}}.{{minor}},prefix=sam2-v
type=raw,value=latest,enable={{is_default_branch}},prefix=sam2-
type=raw,value=${{ github.event.pull_request.head.ref }},prefix=sam2-
type=raw,value=${{ github.event.pull_request.head.ref }},enable=${{ github.event_name == 'pull_request' }},prefix=sam2-
type=raw,value=stable,enable=${{ startsWith(github.event.ref, 'refs/tags/v') }},prefix=sam2-
- name: Build and push runner docker image
Expand Down

0 comments on commit a8c0f58

Please sign in to comment.