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

27 lines
688 B
YAML
Raw Permalink Normal View History

name: Rust node
2024-07-11 19:56:50 +00:00
on:
2024-07-15 16:22:10 +00:00
schedule:
- cron: "@weekly"
2024-07-11 19:56:50 +00:00
push:
branches: [main]
2024-07-11 19:56:50 +00:00
paths:
- .gitea/workflows/rust-node.yaml
- images/actions/rust-node/**
pull_request:
2024-07-11 06:18:29 +00:00
jobs:
build:
name: Build and push image
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- name: Build Docker image
uses: https://git.kjan.de/actions/docker-build@v1
2024-07-11 06:18:29 +00:00
with:
name: rust-node
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}