25 lines
755 B
YAML
25 lines
755 B
YAML
---
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
schedule:
|
|
- cron: "0 0 * * 0"
|
|
|
|
jobs:
|
|
|
|
builder:
|
|
runs-on: docker
|
|
steps:
|
|
- uses: https://git.kabelsalat.ch/s3lph/forgejo-kaniko-action@v1
|
|
with:
|
|
dockerfile: |
|
|
FROM docker.io/library/node:18-bookworm
|
|
RUN apt update && apt install --yes wget curl jq yq zip xz-utils bzip2 reprepro rsync git openssh-client unzip gnupg2 python3-pip python3-setuptools fakeroot lintian
|
|
ENTRYPOINT ["/bin/bash", "-c"]
|
|
RUN /bin/bash
|
|
image: git.kabelsalat.ch/s3lph/package-pipeline-builder:latest
|
|
registry: git.kabelsalat.ch
|
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|