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

27 lines
795 B
YAML
Raw Normal View History

name: Node ssh
2024-07-11 19:54:31 +00:00
on:
2024-07-15 16:21:40 +00:00
schedule:
- cron: "@weekly"
2024-07-11 19:54:31 +00:00
push:
branches: [main]
2024-07-11 19:54:31 +00:00
paths:
- .gitea/workflows/node-ssh.yaml
- images/actions/node-ssh/**
pull_request:
jobs:
build:
2024-07-11 07:45:36 +00:00
name: Build and push image
runs-on: ubuntu-latest
2024-09-04 06:14:48 +00:00
container: catthehacker/ubuntu:act-latest@sha256:cfc3a7d39de50d5414ef460ba0e1fbf3acc7296b15df49e33d32a10ed39ab874
2024-07-11 07:45:36 +00:00
steps:
- name: Build Docker image
2024-09-04 06:14:48 +00:00
uses: https://git.kjan.de/actions/docker-build@68135ac7b8ac655fd9fc07cdf0486b6b3a184a97 # v1
2024-07-11 07:45:36 +00:00
with:
name: node-ssh
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}