From 36c9acee5185c5dd50e1ffd4f2120e2387ac8bc6 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 29 Dec 2024 11:27:54 +0100 Subject: [PATCH] Fix location of cache-from in Docker build --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1118afa..ad4b3e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,8 @@ name: Build Nginx-based docker image on: push: - branches: - - main + # branches: + # - main concurrency: group: ${{ github.ref }} cancel-in-progress: true @@ -32,5 +32,5 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: | ${{ secrets.PRIVATE_REGISTRY_HOST }}/${{ env.GITHUB_REPOSITORY }}:latest - cache-from: type=registry,ref=user/app:latest + cache-from: type=registry,ref=${{ secrets.PRIVATE_REGISTRY_HOST }}/${{ env.GITHUB_REPOSITORY }}:latest cache-to: type=inline \ No newline at end of file