diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac1ced50c7..b805c99060 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 }} e2e: uses: ./.github/workflows/e2e.yml diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 65e7851d48..e1493cfcff 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -21,9 +21,6 @@ on: node_version: required: true type: string - secrets: - DEPOT_TOKEN: - required: true jobs: executable: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9459fe638a..ce824e94e8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -53,6 +53,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Run lint and unit tests in dev container uses: devcontainers/ci@v0.3 with: diff --git a/.github/workflows/login-container.yml b/.github/workflows/login-container.yml index 5137213cc4..538d1b505a 100644 --- a/.github/workflows/login-container.yml +++ b/.github/workflows/login-container.yml @@ -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,17 +48,17 @@ 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: - DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }} NODE_VERSION: ${{ inputs.node_version }} with: push: true provenance: true sbom: true targets: login-standalone - project: w47wkxzdtw files: | ./apps/login/docker-bake.hcl ./apps/login/docker-bake-release.hcl