summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2026-11-17 15:42:53 +0100
committerJesper Jensen <jesper@jnsn.dev>2026-11-17 15:42:53 +0100
commit375c5554d408caba0ab7d5ae6e7914bf1424b5c9 (patch)
tree50f283d5b009df8c311d37c216f1b62e6b13eebe /ci
parent5be2be93b8bb5b3e4d42f24e719941716adfff05 (diff)
downloaddevbox-375c5554d408caba0ab7d5ae6e7914bf1424b5c9.tar.gz
devbox-375c5554d408caba0ab7d5ae6e7914bf1424b5c9.zip
Add build description
Diffstat (limited to 'ci')
-rw-r--r--ci/build.yaml49
1 files changed, 49 insertions, 0 deletions
diff --git a/ci/build.yaml b/ci/build.yaml
new file mode 100644
index 0000000..b2ab6e8
--- /dev/null
+++ b/ci/build.yaml
@@ -0,0 +1,49 @@
+resources:
+- name: repo
+ type: git
+ source:
+ uri: ssh://git@git.jnsn.dev:52502/~/devbox
+ branch: main
+ private_key: ((vbump.repo-key))
+- name: final-image
+ type: registry-image
+ icon: docker
+ source:
+ repository: registry.jnsn.dev/devbox
+ 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
+