Swapped workflow to new branch.
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m43s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m43s
This commit is contained in:
parent
349d0ad4ff
commit
47da41c1e3
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ name: Build and Push Docker Image
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main # Adjust if your main branch is different
|
- project-turquoise
|
||||||
tags:
|
tags:
|
||||||
- 'v*.*.*' # Trigger on version tags
|
- 'v*.*.*' # Trigger on version tags
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ jobs:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_BASE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_BASE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
# Use 'github.ref' for branch/tag detection
|
# 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=branch
|
||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
type=sha,format=short # Tag with short Git SHA
|
type=sha,format=short # Tag with short Git SHA
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue