feat: initial commit
This commit is contained in:
commit
f629de8a7e
4 changed files with 42 additions and 0 deletions
32
.woodpecker.yml
Normal file
32
.woodpecker.yml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
kaniko:
|
||||||
|
image: git.kabelsalat.ch/s3lph/package-pipeline-builder/kaniko:latest
|
||||||
|
pull: true
|
||||||
|
commands:
|
||||||
|
- mkdir -p /kaniko/.docker
|
||||||
|
- - echo "{\"auths\":{\"git.kabelsalat.ch\":{\"auth\":\""$(printf "%s:%s" "$${GITEA_API_USERNAME}" "$${GITEA_API_PASSWORD}" | base64 | tr -d '\n')"\"}}}" > /kaniko/.docker/config.json
|
||||||
|
- >-
|
||||||
|
/kaniko/executor
|
||||||
|
--dockerfile kaniko.Dockerfile
|
||||||
|
--destination git.kabelsalat.ch/s3lph/package-pipeline-builder/kaniko:latest
|
||||||
|
when:
|
||||||
|
- event: cron
|
||||||
|
- event: push
|
||||||
|
|
||||||
|
builder:
|
||||||
|
image: git.kabelsalat.ch/s3lph/package-pipeline-builder/kaniko:latest
|
||||||
|
pull: true
|
||||||
|
commands:
|
||||||
|
- mkdir -p /kaniko/.docker
|
||||||
|
- - echo "{\"auths\":{\"git.kabelsalat.ch\":{\"auth\":\""$(printf "%s:%s" "$${GITEA_API_USERNAME}" "$${GITEA_API_PASSWORD}" | base64 | tr -d '\n')"\"}}}" > /kaniko/.docker/config.json
|
||||||
|
- >-
|
||||||
|
/kaniko/executor
|
||||||
|
--dockerfile builder.Dockerfile
|
||||||
|
--destination git.kabelsalat.ch/s3lph/package-pipeline-builder/builder:latest
|
||||||
|
when:
|
||||||
|
- event: cron
|
||||||
|
- event: push
|
||||||
|
|
5
README.md
Normal file
5
README.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# package-pipeline-builder
|
||||||
|
|
||||||
|
[![status-badge](https://woodpecker.kabelsalat.ch/api/badges/86/status.svg)](https://woodpecker.kabelsalat.ch/repos/86)
|
||||||
|
|
||||||
|
Pipeline that builds the build images for https://git.kabelsalat.ch/s3lph/package-pipeline
|
3
builder.Dockerfile
Normal file
3
builder.Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM debian: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
|
2
kaniko.Dockerfile
Normal file
2
kaniko.Dockerfile
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
FROM gcr.io/kaniko-project/executor:debug
|
||||||
|
ENTRYPOINT [""]
|
Loading…
Reference in a new issue