From 7c3305446d39d7293489fdbd5067bec1b3e1f009 Mon Sep 17 00:00:00 2001 From: Jan Gleytenhoover Date: Thu, 15 Aug 2024 14:35:04 +0000 Subject: [PATCH] Update .gitea/workflows/node-npm.yaml --- .gitea/workflows/node-npm.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/node-npm.yaml b/.gitea/workflows/node-npm.yaml index 1217e53..195f2d1 100644 --- a/.gitea/workflows/node-npm.yaml +++ b/.gitea/workflows/node-npm.yaml @@ -29,9 +29,6 @@ jobs: username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_TOKEN }} - - name: Pull previous image - run: docker pull git.kjan.de/actions/node-npm:latest - - name: Login to Docker.io Registry uses: https://git.kjan.de/actions/login-action@v3 with: @@ -41,6 +38,8 @@ jobs: - name: Build and push uses: https://git.kjan.de/actions/build-push-action@v6 with: + cache-from: type=registry,ref=actions/node-npm:latest + cache-to: type=inline context: ./images/actions/node-npm push: ${{ github.ref == 'refs/heads/main' }} tags: |