add docker builds also for each push to the livekit branch

This commit is contained in:
fkwp
2023-08-08 11:29:22 +02:00
parent 6c70a533e9
commit b038b88f59

View File

@@ -3,6 +3,8 @@ name: Build & publish images to the package registry for tags
on:
release:
types: [published]
push:
branches: [livekit]
env:
REGISTRY: ghcr.io
@@ -58,6 +60,10 @@ jobs:
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,format=short,event=branch
type=semver,pattern={{version}}
type=raw,value=latest-ci,enable={{is_default_branch}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6