From 2b136f192dcf81fa52e904f0ef3adbb73c878cae Mon Sep 17 00:00:00 2001 From: Izel Levy Date: Wed, 3 Jan 2024 12:04:30 +0200 Subject: [PATCH] Change cache to gha --- .github/workflows/build-push-image.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-push-image.yml b/.github/workflows/build-push-image.yml index 3cfba582..a8dca5aa 100644 --- a/.github/workflows/build-push-image.yml +++ b/.github/workflows/build-push-image.yml @@ -5,7 +5,7 @@ on: inputs: image-tag: type: string - required: true + required: false description: 'Docker image tag' push: env: @@ -48,5 +48,5 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:${{ env.IMAGE_TAG }} - cache-from: type=registry,ref=${{ env.REPOSITORY }}:buildcache - cache-to: type=registry,ref=${{ env.REPOSITORY }}:buildcache,mode=max \ No newline at end of file + cache-from: type=gha + cache-to: type=gha,mode=max \ No newline at end of file