feat: add bootstrap documentation

This commit is contained in:
s3lph 2023-11-11 05:00:14 +01:00
parent f629de8a7e
commit 389279dbad
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -3,3 +3,17 @@
[![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
## Setup
Unfortunately, woodpecker can't run jobs with custom entrypoints, so before this pipeline can run, we need to build the custom Kaniko image once by hand:
```shell-session
$ git clone <this repository>
$ cd package-pipeline-builder
$ docker build -t git.kabelsalat.ch/s3lph/package-pipeline-builder/kaniko:latest -f kaniko.Dockerfile .
$ docker push git.kabelsalat.ch/s3lph/package-pipeline-builder/kaniko:latest
```
Afterward the pipeline will rebuild this image on its own.