diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f49980d2..1c407147 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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