From 9fc2b8b675c3f360c663ebf648379a7c22cf9329 Mon Sep 17 00:00:00 2001 From: ginuerzh Date: Mon, 10 Jan 2022 22:57:18 +0800 Subject: [PATCH] update github action --- .github/workflows/buildx.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/buildx.yaml b/.github/workflows/buildx.yaml index 33798f9..02ea701 100644 --- a/.github/workflows/buildx.yaml +++ b/.github/workflows/buildx.yaml @@ -1,4 +1,5 @@ -# ref: https://blog.oddbit.com/post/2020-09-25-building-multi-architecture-im/ +# ref: https://docs.docker.com/ci-cd/github-actions/ +# https://blog.oddbit.com/post/2020-09-25-building-multi-architecture-im/ name: Docker @@ -70,5 +71,5 @@ jobs: platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 push: true tags: ${{ steps.prepare.outputs.tags }} - cache-from: type=registry,ref=${{ steps.prepare.outputs.docker_image }}:buildcache - cache-to: type=registry,ref=${{ steps.prepare.outputs.docker_image }}:buildcache,mode=max + cache-from: type=gha + cache-to: type=gha,mode=max