Explicitly build and publish docker for develop/livekit branch (#2996)

We don't need the tarball artifact and we have already done a build
This commit is contained in:
Hugh Nimmo-Smith
2025-02-07 16:31:44 +00:00
committed by GitHub
parent 0128f2f258
commit 6e3fd10268
2 changed files with 14 additions and 7 deletions

View File

@@ -47,3 +47,17 @@ jobs:
version: '${{ github.sha }}'
}
})
docker_for_develop:
# Build docker and publish docker for livekit branch after build completes
if: github.ref == 'refs/heads/livekit'
needs: build_element_call
permissions:
contents: write
packages: write
uses: ./.github/workflows/build-and-publish-docker.yaml
with:
artifact_run_id: ${{ github.run_id }}
docker_tags: |
type=sha,format=short,event=branch
type=raw,value=latest-ci
type=raw,value=latest-ci_{{date 'X' }}

View File

@@ -3,11 +3,6 @@ name: Build & publish images to the package registry for releases
on:
release:
types: [published]
workflow_run:
workflows: ["Build"]
branches: [livekit]
types:
- completed
env:
REGISTRY: ghcr.io
@@ -68,5 +63,3 @@ jobs:
docker_tags: |
type=sha,format=short,event=branch
type=semver,pattern=v{{version}}
type=raw,value=latest-ci,enable={{is_default_branch}}
type=raw,value=latest-ci_${{needs.publish_tarball.outputs.unix_time}},enable={{is_default_branch}}