diff --git a/.forgejo/workflows/build-and-dockerise.yml b/.forgejo/workflows/build-and-dockerise.yml index bada351..2e68a4b 100644 --- a/.forgejo/workflows/build-and-dockerise.yml +++ b/.forgejo/workflows/build-and-dockerise.yml @@ -3,7 +3,7 @@ name: Build and Push Docker Image on: push: branches: - - main # Adjust if your main branch is different + - project-turquoise tags: - 'v*.*.*' # Trigger on version tags @@ -55,7 +55,7 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_BASE_NAME }} tags: | # Use 'github.ref' for branch/tag detection - type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} # Adjust 'main' if needed + type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'project-turquoise') }} type=ref,event=branch type=ref,event=tag type=sha,format=short # Tag with short Git SHA