Skip to content

Commit 9031b49

Browse files
authored
ci: use depot.dev to build dogfood image (#11378)
1 parent 227234d commit 9031b49

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/dogfood.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
build_image:
18-
runs-on: buildjet-4vcpu-ubuntu-2204
18+
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v4
@@ -32,8 +32,8 @@ jobs:
3232
tag=${tag//\//--}
3333
echo "tag=${tag}" >> $GITHUB_OUTPUT
3434
35-
- name: Set up Docker Buildx
36-
uses: docker/setup-buildx-action@v3
35+
- name: Set up Depot CLI
36+
uses: depot/setup-action@v1
3737

3838
- name: Login to DockerHub
3939
if: github.ref == 'refs/heads/main'
@@ -43,14 +43,14 @@ jobs:
4343
password: ${{ secrets.DOCKERHUB_PASSWORD }}
4444

4545
- name: Build and push
46-
uses: docker/build-push-action@v5
46+
uses: depot/build-push-action@v1
4747
with:
48+
project: b4q6ltmpzh
49+
token: ${{ secrets.DEPOT_TOKEN }}
4850
context: "{{defaultContext}}:dogfood"
4951
pull: true
5052
push: ${{ github.ref == 'refs/heads/main' }}
5153
tags: "codercom/oss-dogfood:${{ steps.docker-tag-name.outputs.tag }},codercom/oss-dogfood:latest"
52-
cache-from: type=registry,ref=codercom/oss-dogfood:latest
53-
cache-to: type=inline
5454

5555
deploy_template:
5656
needs: build_image

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy