chore: remove depot (#10343)

# Which Problems Are Solved

We hit a rate limit for our current plan at Depot
https://github.com/zitadel/zitadel/actions/runs/16589101600/job/46920267954?pr=10342.

# How the Problems Are Solved

Let's remove Depot for now, make things work and then optimize with
caching.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Elio Bischof
2025-07-29 10:07:26 +02:00
committed by Stefan Benz
parent 7a4d360076
commit 71d30b5ea4
4 changed files with 5 additions and 14 deletions

View File

@@ -54,8 +54,6 @@ jobs:
console_cache_path: ${{ needs.console.outputs.cache_path }} console_cache_path: ${{ needs.console.outputs.cache_path }}
version: ${{ needs.version.outputs.version }} version: ${{ needs.version.outputs.version }}
node_version: "20" node_version: "20"
secrets:
DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }}
core-unit-test: core-unit-test:
needs: core needs: core
@@ -103,8 +101,6 @@ jobs:
with: with:
login_build_image_name: "ghcr.io/zitadel/zitadel-login-build" login_build_image_name: "ghcr.io/zitadel/zitadel-login-build"
node_version: "20" node_version: "20"
secrets:
DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }}
e2e: e2e:
uses: ./.github/workflows/e2e.yml uses: ./.github/workflows/e2e.yml

View File

@@ -21,9 +21,6 @@ on:
node_version: node_version:
required: true required: true
type: string type: string
secrets:
DEPOT_TOKEN:
required: true
jobs: jobs:
executable: executable:

View File

@@ -53,6 +53,8 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Run lint and unit tests in dev container - name: Run lint and unit tests in dev container
uses: devcontainers/ci@v0.3 uses: devcontainers/ci@v0.3
with: with:

View File

@@ -14,9 +14,6 @@ on:
login_build_image: login_build_image:
description: 'The full image tag of the standalone login image' description: 'The full image tag of the standalone login image'
value: '${{ inputs.login_build_image_name }}:${{ github.sha }}' value: '${{ inputs.login_build_image_name }}:${{ github.sha }}'
secrets:
DEPOT_TOKEN:
required: true
permissions: permissions:
packages: write packages: write
@@ -35,7 +32,6 @@ jobs:
packages: write packages: write
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: depot/setup-action@v1
- name: Login meta - name: Login meta
id: login-meta id: login-meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
@@ -52,17 +48,17 @@ jobs:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Bake login multi-arch - name: Bake login multi-arch
uses: depot/bake-action@v1 uses: docker/bake-action@v6
env: env:
DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }}
NODE_VERSION: ${{ inputs.node_version }} NODE_VERSION: ${{ inputs.node_version }}
with: with:
push: true push: true
provenance: true provenance: true
sbom: true sbom: true
targets: login-standalone targets: login-standalone
project: w47wkxzdtw
files: | files: |
./apps/login/docker-bake.hcl ./apps/login/docker-bake.hcl
./apps/login/docker-bake-release.hcl ./apps/login/docker-bake-release.hcl