fix(ci): Move docker push fix to the setup action (#5998)
* Move docker push fix to the setup action * Apply docker push fix to the lightwalletd docker build
This commit is contained in:
parent
2018d49907
commit
ddda4d036d
|
@ -91,6 +91,12 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
# TODO: change after new buildkit version gets fixed
|
||||
# https://github.com/moby/buildkit/issues/3347
|
||||
# https://github.com/docker/build-push-action/issues/761#issuecomment-1383822381
|
||||
driver-opts: |
|
||||
image=moby/buildkit:v0.10.6
|
||||
|
||||
- name: Authenticate to Google Cloud
|
||||
id: auth
|
||||
|
@ -155,8 +161,3 @@ jobs:
|
|||
type=registry,ref=us-docker.pkg.dev/zealous-zebra/zebra/${{ inputs.image_name }}:${{ env.GITHUB_REF_SLUG_URL }}-cache
|
||||
type=registry,ref=us-docker.pkg.dev/zealous-zebra/zebra/${{ inputs.image_name }}:main-cache
|
||||
cache-to: type=registry,ref=us-docker.pkg.dev/zealous-zebra/zebra/${{ inputs.image_name }}:${{ env.GITHUB_REF_SLUG_URL }}-cache,mode=max
|
||||
# TODO: change after new buildkit version gets fixed
|
||||
# https://github.com/moby/buildkit/issues/3347
|
||||
# https://github.com/docker/build-push-action/issues/761
|
||||
driver-opts: |
|
||||
image=moby/buildkit:v0.10.6
|
||||
|
|
|
@ -102,6 +102,12 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
# TODO: change after new buildkit version gets fixed
|
||||
# https://github.com/moby/buildkit/issues/3347
|
||||
# https://github.com/docker/build-push-action/issues/761#issuecomment-1383822381
|
||||
driver-opts: |
|
||||
image=moby/buildkit:v0.10.6
|
||||
|
||||
# Setup gcloud CLI
|
||||
- name: Authenticate to Google Cloud
|
||||
|
|
Loading…
Reference in New Issue