Skip to content

Commit 6e3fd10

Browse files
authored
Explicitly build and publish docker for develop/livekit branch (#2996)
We don't need the tarball artifact and we have already done a build
1 parent 0128f2f commit 6e3fd10

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

.github/workflows/build.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,17 @@ jobs:
4747
version: '${{ github.sha }}'
4848
}
4949
})
50+
docker_for_develop:
51+
# Build docker and publish docker for livekit branch after build completes
52+
if: github.ref == 'refs/heads/livekit'
53+
needs: build_element_call
54+
permissions:
55+
contents: write
56+
packages: write
57+
uses: ./.github/workflows/build-and-publish-docker.yaml
58+
with:
59+
artifact_run_id: ${{ github.run_id }}
60+
docker_tags: |
61+
type=sha,format=short,event=branch
62+
type=raw,value=latest-ci
63+
type=raw,value=latest-ci_{{date 'X' }}

.github/workflows/publish.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ name: Build & publish images to the package registry for releases
33
on:
44
release:
55
types: [published]
6-
workflow_run:
7-
workflows: ["Build"]
8-
branches: [livekit]
9-
types:
10-
- completed
116

127
env:
138
REGISTRY: ghcr.io
@@ -68,5 +63,3 @@ jobs:
6863
docker_tags: |
6964
type=sha,format=short,event=branch
7065
type=semver,pattern=v{{version}}
71-
type=raw,value=latest-ci,enable={{is_default_branch}}
72-
type=raw,value=latest-ci_${{needs.publish_tarball.outputs.unix_time}},enable={{is_default_branch}}

0 commit comments

Comments
 (0)