Fix build.yml to start tagging latest version again. #patch

This commit is contained in:
Benjamin Harder
2024-10-09 21:54:22 +02:00
parent 82e7901825
commit 6106f3b93f

View File

@@ -114,6 +114,7 @@ jobs:
IMAGE_NAME: ghcr.io/${{ env.REPO_OWNER }}/decluttarr
IMAGE_TAG: ${{ env.IMAGE_TAG }}
run: |
BRANCH_NAME="${{ github.ref_name }}"
TAG_LATEST=""
if [[ "$BRANCH_NAME" == "stable" ]]; then
TAG_LATEST="-t $IMAGE_NAME:latest"