Update .gitea/workflows/node-npm.yaml #8
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user