Only add version tag to main

This commit is contained in:
0xThresh.eth 2024-08-23 11:46:30 -06:00
parent 550386f52a
commit ff1ea70dfa

View File

@ -69,7 +69,7 @@ jobs:
# https://github.com/docker/metadata-action?tab=readme-ov-file#typeraw
tags: |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=raw,value=${{ steps.get_version.outputs.version }}
type=raw,value=${{ steps.get_version.outputs.version }},enable=${{ github.ref == 'refs/heads/main' }}
type=ref,event=branch
type=ref,event=tag
type=sha,prefix=git-