mirror of
https://github.com/zitadel/zitadel.git
synced 2025-05-08 00:26:55 +00:00
chore(actions): enable buildkit GHA cache again (#2482)
* chore(actions): enable buildkit GHA cache again * Update .github/workflows/zitadel.yml
This commit is contained in:
parent
476cb6137b
commit
7f62b169ac
38
.github/workflows/zitadel.yml
vendored
38
.github/workflows/zitadel.yml
vendored
@ -66,16 +66,12 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
with:
|
|
||||||
## Workaround until https://github.com/docker/build-push-action/issues/252#issuecomment-804898823 is merged
|
|
||||||
version: v0.6.0
|
|
||||||
buildkitd-flags: --debug
|
|
||||||
- uses: docker/build-push-action@v2
|
- uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./build/zitadel/Dockerfile
|
file: ./build/zitadel/Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
# cache-from: type=gha,scope=${{ github.workflow }} (https://github.com/caos/zitadel/issues/2102)
|
cache-from: type=gha,scope=${{ github.workflow }}
|
||||||
cache-to: type=gha,scope=${{ github.workflow }},mode=max
|
cache-to: type=gha,scope=${{ github.workflow }},mode=max
|
||||||
outputs: type=local,dest=/tmp/zitadel
|
outputs: type=local,dest=/tmp/zitadel
|
||||||
build-args: |
|
build-args: |
|
||||||
@ -94,10 +90,6 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
with:
|
|
||||||
## Workaround until https://github.com/docker/build-push-action/issues/252#issuecomment-804898823 is merged
|
|
||||||
version: v0.6.0
|
|
||||||
buildkitd-flags: --debug
|
|
||||||
- uses: docker/build-push-action@v2
|
- uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
@ -120,16 +112,12 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
with:
|
|
||||||
## Workaround until https://github.com/docker/build-push-action/issues/252#issuecomment-804898823 is merged
|
|
||||||
version: v0.6.0
|
|
||||||
buildkitd-flags: --debug
|
|
||||||
- uses: docker/build-push-action@v2
|
- uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./build/console/Dockerfile
|
file: ./build/console/Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
# cache-from: type=gha,scope=${{ github.workflow }} (https://github.com/caos/zitadel/issues/2102)
|
cache-from: type=gha,scope=${{ github.workflow }}
|
||||||
cache-to: type=gha,scope=${{ github.workflow }},mode=max
|
cache-to: type=gha,scope=${{ github.workflow }},mode=max
|
||||||
outputs: type=local,dest=/tmp/zitadel-console
|
outputs: type=local,dest=/tmp/zitadel-console
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
@ -155,10 +143,6 @@ jobs:
|
|||||||
path: .download/zitadel/console
|
path: .download/zitadel/console
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
with:
|
|
||||||
## Workaround until https://github.com/docker/build-push-action/issues/252#issuecomment-804898823 is merged
|
|
||||||
version: v0.6.0
|
|
||||||
buildkitd-flags: --debug
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
@ -190,16 +174,12 @@ jobs:
|
|||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
with:
|
|
||||||
## Workaround until https://github.com/docker/build-push-action/issues/252#issuecomment-804898823 is merged
|
|
||||||
version: v0.6.0
|
|
||||||
buildkitd-flags: --debug
|
|
||||||
- uses: docker/build-push-action@v2
|
- uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./build/operator/Dockerfile
|
file: ./build/operator/Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
# cache-from: type=gha,scope=${{ matrix.goos }}-${{ matrix.goarch }} (https://github.com/caos/zitadel/issues/2102)
|
cache-from: type=gha,scope=${{ matrix.goos }}-${{ matrix.goarch }}
|
||||||
cache-to: type=gha,scope=${{ matrix.goos }}-${{ matrix.goarch }},mode=max
|
cache-to: type=gha,scope=${{ matrix.goos }}-${{ matrix.goarch }},mode=max
|
||||||
outputs: type=local,dest=/tmp/operator
|
outputs: type=local,dest=/tmp/operator
|
||||||
build-args: |
|
build-args: |
|
||||||
@ -231,10 +211,6 @@ jobs:
|
|||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
with:
|
|
||||||
## Workaround until https://github.com/docker/build-push-action/issues/252#issuecomment-804898823 is merged
|
|
||||||
version: v0.6.0
|
|
||||||
buildkitd-flags: --debug
|
|
||||||
- uses: docker/build-push-action@v2
|
- uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
@ -264,10 +240,6 @@ jobs:
|
|||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
with:
|
|
||||||
## Workaround until https://github.com/docker/build-push-action/issues/252#issuecomment-804898823 is merged
|
|
||||||
version: v0.6.0
|
|
||||||
buildkitd-flags: --debug
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
@ -299,10 +271,6 @@ jobs:
|
|||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
with:
|
|
||||||
## Workaround until https://github.com/docker/build-push-action/issues/252#issuecomment-804898823 is merged
|
|
||||||
version: v0.6.0
|
|
||||||
buildkitd-flags: --debug
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user