Skip to content

Commit 3a98bb9

Browse files
authored
chore: experiment with depot and livestream (PostHog#27908)
created separate project in depot to test bug hypothesis
1 parent 1eeabe9 commit 3a98bb9

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/livestream-docker-image.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: ubuntu-24.04
13+
runs-on: depot-ubuntu-24.04
1414

1515
permissions:
1616
contents: read
1717
packages: write
18+
id-token: write
1819

1920
outputs:
2021
sha: ${{ steps.push.outputs.digest }}
@@ -40,23 +41,21 @@ jobs:
4041
with:
4142
images: ghcr.io/posthog/posthog/livestream
4243

43-
- name: Set up Docker Buildx
44-
uses: docker/setup-buildx-action@v3
45-
46-
- name: Set up QEMU
47-
uses: docker/setup-qemu-action@v3
44+
- name: Set up Depot CLI
45+
uses: depot/setup-action@v1
4846

4947
- name: Build and push Docker image
5048
id: push
5149
if: github.ref == 'refs/heads/master'
52-
uses: docker/build-push-action@v6
50+
uses: depot/build-push-action@v1
5351
with:
54-
context: livestream/
52+
context: ./livestream/
5553
file: livestream/Dockerfile
5654
push: true
5755
platforms: linux/amd64,linux/arm64
5856
tags: ${{ steps.meta.outputs.tags }}
5957
labels: ${{ steps.meta.outputs.labels }}
58+
project: '87b1ch2t7h'
6059

6160
deploy:
6261
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)