diff options
| author | Jesper Jensen <jesper@jnsn.dev> | 2026-08-10 20:02:47 +0200 |
|---|---|---|
| committer | Jesper Jensen <jesper@jnsn.dev> | 2026-08-10 20:02:47 +0200 |
| commit | 8eeb7af73c5fed13446ff1df90061cbd8f3effb9 (patch) | |
| tree | a727172140b8c41871a0427488724fcde80576eb /ci | |
| parent | f8250b936bfd3b74866816f4fe2259b69123a43c (diff) | |
| download | git-host-8eeb7af73c5fed13446ff1df90061cbd8f3effb9.tar.gz git-host-8eeb7af73c5fed13446ff1df90061cbd8f3effb9.zip | |
Add build config
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/build.yaml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/ci/build.yaml b/ci/build.yaml new file mode 100644 index 0000000..9cd29ba --- /dev/null +++ b/ci/build.yaml @@ -0,0 +1,48 @@ +resources: +- name: repo + type: git + source: + uri: ssh://git@git.jnsn.dev:52502/~/git-host.git + branch: main + private_key: ((vbump.repo-key)) +- name: final-image + type: registry-image + icon: docker + source: + repository: registry.jnsn.dev/git-host + username: ((vbump.username)) + password: ((vbump.password)) + tag: latest + +jobs: +- name: update-pipeline + plan: + - get: repo + trigger: true + - set_pipeline: self + file: repo/ci/build.yaml + +- name: build-container + plan: + - get: repo + trigger: true + - task: build-image + privileged: true + config: + platform: linux + image_resource: + type: registry-image + source: + repository: concourse/oci-build-task + inputs: + - name: repo + outputs: + - name: image + params: + CONTEXT: repo + UNPACK_ROOTFS: "true" + run: + path: build + - put: final-image + params: + image: image/image.tar |
