Update .gitea/workflows/node-npm.yaml #8
1 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue