Skip to content

Commit

Permalink
fix(bp-1419): Update image flavor tag generation logic in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
neumachen committed Mar 7, 2025
1 parent 1733c08 commit c3b61f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
dockerfile: dockerfiles/bloodhound.Dockerfile
image_cache_from: type=registry,ref=ghcr.io/specterops/bloodhound:buildcache
image_cache_to: type=registry,ref=ghcr.io/specterops/bloodhound:buildcache,mode=max
image_flavor: ${{ (github.ref_name == 'main' || contains(github.ref_name, '-rc')) && 'latest=false' }}
image_flavor: latest=${{ (github.ref_name == 'main' || contains(github.ref_name, '-rc')) == false }}
image_tags: |
type=edge,branch=main
type=semver,pattern={{version}}
Expand Down

0 comments on commit c3b61f1

Please sign in to comment.