Update docker-publish.yml

Added release builds
This commit is contained in:
Technomancer702
2026-01-04 13:54:51 -08:00
committed by GitHub
parent b119b37b87
commit 7f9485b663
+6 -1
View File
@@ -3,6 +3,9 @@ name: Build and Publish Container Image
on:
push:
branches: [ main ]
tags: [ 'v*' ]
release:
types: [ published ]
workflow_dispatch:
jobs:
@@ -32,9 +35,11 @@ jobs:
with:
images: ghcr.io/${{ github.repository_owner }}/nodecast-tv
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha
type=ref,event=branch
type=raw,value=latest
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push Container image
uses: docker/build-push-action@v5