From 3ee0894c13e3cc09e7defa1bd68e631323b73745 Mon Sep 17 00:00:00 2001 From: duncte123 Date: Fri, 26 Jul 2024 11:22:45 +0200 Subject: [PATCH] fix workflow --- .github/workflows/docker.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 85fd7e2..15d061e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -5,6 +5,9 @@ name: Release Docs # allows us to manually update the docs on: + push: + branches: + - main workflow_dispatch: jobs: @@ -39,16 +42,8 @@ jobs: context: . push: true tags: oengusio/docs:latest - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache-new - - # Temp fix - # https://github.com/docker/build-push-action/issues/252 - # https://github.com/moby/buildkit/issues/1896 - - name: Move cache - run: | - rm -rf /tmp/.buildx-cache - mv /tmp/.buildx-cache-new /tmp/.buildx-cache + cache-from: type=gha + cache-to: type=gha - name: Trigger webhook uses: distributhor/workflow-webhook@v3