runner-images/.gitea/workflows/node-npm.yaml

27 lines
663 B
YAML
Raw Normal View History

name: Node npm
2024-07-13 21:46:22 +00:00
on:
2024-07-15 16:21:30 +00:00
schedule:
- cron: "@weekly"
2024-07-13 21:46:22 +00:00
push:
branches: [main]
2024-07-13 21:46:22 +00:00
paths:
- .gitea/workflows/node-npm.yaml
- images/actions/node-npm/**
pull_request:
2024-07-13 21:46:22 +00:00
jobs:
build:
name: Build and push image
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
2024-08-16 19:02:47 +00:00
uses: https://git.kjan.de/actions/docker-build@v1
2024-07-13 21:46:22 +00:00
with:
2024-08-16 18:58:07 +00:00
name: node-npm
2024-08-16 19:10:00 +00:00
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}