Update .gitea/workflows/node-npm.yaml #8
@ -29,9 +29,6 @@ jobs:
|
|||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Pull previous image
|
|
||||||
run: docker pull git.kjan.de/actions/node-npm:latest
|
|
||||||
|
|
||||||
- name: Login to Docker.io Registry
|
- name: Login to Docker.io Registry
|
||||||
uses: https://git.kjan.de/actions/login-action@v3
|
uses: https://git.kjan.de/actions/login-action@v3
|
||||||
with:
|
with:
|
||||||
@ -41,6 +38,8 @@ jobs:
|
|||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: https://git.kjan.de/actions/build-push-action@v6
|
uses: https://git.kjan.de/actions/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
cache-from: type=registry,ref=actions/node-npm:latest
|
||||||
|
cache-to: type=inline
|
||||||
context: ./images/actions/node-npm
|
context: ./images/actions/node-npm
|
||||||
push: ${{ github.ref == 'refs/heads/main' }}
|
push: ${{ github.ref == 'refs/heads/main' }}
|
||||||
tags: |
|
tags: |
|
||||||
|
Loading…
Reference in New Issue
Block a user