Swapped workflow to new branch.
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m43s

This commit is contained in:
Cameron Redmore 2025-08-07 23:37:42 +01:00
parent 349d0ad4ff
commit 47da41c1e3
No known key found for this signature in database

View file

@ -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