From e4cee42b959583dbc1e5fb198b05c9381d14ab50 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Fri, 13 Dec 2024 11:34:30 +0000 Subject: [PATCH 1/2] ci: build images on depot again --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index df1fb5c557e61..d0cc85b7052ae 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -976,7 +976,7 @@ jobs: - changes - build-dylib if: github.ref == 'refs/heads/main' && needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork - runs-on: "ubuntu-22.04" + runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }} permissions: packages: write # Needed to push images to ghcr.io env: From f04bdc9f4b590dc474e985a4db25a60fd5836957 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Fri, 13 Dec 2024 11:39:08 +0000 Subject: [PATCH 2/2] use ubuntu 22.04 for forks instead of latest --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d0cc85b7052ae..2a7f73d583f3a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -976,7 +976,7 @@ jobs: - changes - build-dylib if: github.ref == 'refs/heads/main' && needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork - runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }} + runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04' }} permissions: packages: write # Needed to push images to ghcr.io env: