update main

This commit is contained in:
Elio Bischof
2025-07-29 11:11:27 +02:00
46 changed files with 465 additions and 508 deletions

View File

@@ -54,8 +54,6 @@ jobs:
console_cache_path: ${{ needs.console.outputs.cache_path }}
version: ${{ needs.version.outputs.version }}
node_version: "20"
secrets:
DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }}
core-unit-test:
needs: core
@@ -81,7 +79,7 @@ jobs:
with:
node_version: "18"
buf_version: "latest"
go_lint_version: "v1.64.8"
go_lint_version: "latest"
core_cache_key: ${{ needs.core.outputs.cache_key }}
core_cache_path: ${{ needs.core.outputs.cache_path }}
@@ -103,8 +101,6 @@ jobs:
with:
login_build_image_name: "ghcr.io/zitadel/zitadel-login-build"
node_version: "20"
secrets:
DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }}
login-integration-test:
uses: ./.github/workflows/login-integration-test.yml

View File

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

View File

@@ -53,13 +53,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: depot/setup-action@v1
- name: Install Dev Container CLI
run: npm install -g @devcontainers/cli@0.80.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Lint and Unit Test All JavaScript Code
run: npm run devcontainer:lint-unit
env:
DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }}
core:
name: core
@@ -78,7 +75,7 @@ jobs:
path: ${{ inputs.core_cache_path }}
key: ${{ inputs.core_cache_key }}
fail-on-cache-miss: true
- uses: golangci/golangci-lint-action@v6
- uses: golangci/golangci-lint-action@v8
with:
version: ${{ inputs.go_lint_version }}
github-token: ${{ github.token }}

View File

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