mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:37:33 +00:00
remove depot
This commit is contained in:
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@@ -19,7 +19,6 @@ permissions:
|
|||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
actions: write
|
actions: write
|
||||||
id-token: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
core:
|
core:
|
||||||
|
15
.github/workflows/login-container.yml
vendored
15
.github/workflows/login-container.yml
vendored
@@ -17,7 +17,6 @@ on:
|
|||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
id-token: write
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
default_labels: |
|
default_labels: |
|
||||||
@@ -31,7 +30,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
id-token: write
|
|
||||||
outputs:
|
outputs:
|
||||||
login_build_image: ${{ steps.short-sha.outputs.login_build_image }}
|
login_build_image: ${{ steps.short-sha.outputs.login_build_image }}
|
||||||
steps:
|
steps:
|
||||||
@@ -65,19 +63,20 @@ jobs:
|
|||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Set up Depot CLI
|
- name: Set up Docker Buildx
|
||||||
uses: depot/setup-action@v1
|
id: setup-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:
|
||||||
NODE_VERSION: ${{ inputs.node_version }}
|
NODE_VERSION: ${{ inputs.node_version }}
|
||||||
with:
|
with:
|
||||||
project: w47wkxzdtw
|
source: .
|
||||||
push: true
|
push: true
|
||||||
provenance: true
|
provenance: true
|
||||||
# Only build for multiple platforms if triggered by workflow_dispatch
|
targets: login-standalone
|
||||||
build-platform: ${{ github.event_name == 'workflow_dispatch' && 'linux/amd64,linux/arm64' || '' }}
|
|
||||||
files: |
|
files: |
|
||||||
./apps/login/docker-bake.hcl
|
./apps/login/docker-bake.hcl
|
||||||
|
./apps/login/docker-bake-release.hcl
|
||||||
./docker-bake.hcl
|
./docker-bake.hcl
|
||||||
cwd://${{ steps.login-meta.outputs.bake-file }}
|
cwd://${{ steps.login-meta.outputs.bake-file }}
|
||||||
|
3
apps/login/docker-bake-release.hcl
Normal file
3
apps/login/docker-bake-release.hcl
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
target "release" {
|
||||||
|
platforms = ["linux/amd64", "linux/arm64"]
|
||||||
|
}
|
@@ -6,6 +6,11 @@ group "default" {
|
|||||||
targets = ["login-standalone"]
|
targets = ["login-standalone"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# The release target is overwritten in docker-bake-release.hcl
|
||||||
|
# It makes sure the image is built for multiple platforms.
|
||||||
|
# By default the platforms property is empty, so images are only built for the current bake runtime platform.
|
||||||
|
target "release" {}
|
||||||
|
|
||||||
target "docker-metadata-action" {
|
target "docker-metadata-action" {
|
||||||
# In the pipeline, this target is overwritten by the docker metadata action.
|
# In the pipeline, this target is overwritten by the docker metadata action.
|
||||||
tags = ["${LOGIN_TAG}"]
|
tags = ["${LOGIN_TAG}"]
|
||||||
@@ -15,5 +20,6 @@ target "docker-metadata-action" {
|
|||||||
target "login-standalone" {
|
target "login-standalone" {
|
||||||
inherits = [
|
inherits = [
|
||||||
"docker-metadata-action",
|
"docker-metadata-action",
|
||||||
|
"release",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user