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: |