From 33015f31d8153a349b329d61bcf4c8dd5ca9c887 Mon Sep 17 00:00:00 2001 From: redxef Date: Mon, 29 Aug 2022 23:09:30 +0200 Subject: [PATCH] pipeline wip. --- ci/pipeline.yml | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 80437fb..71678b0 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -1,4 +1,10 @@ --- +resource_types: +- name: oci-image + type: registry-image + source: + repository: redxef/concourse-oci-resource + tag: latest resources: - name: source type: git @@ -10,9 +16,16 @@ resources: type: registry-image source: repository: alpine +- name: concourse-oci-resource + type: oci-image + source: + repository: redxef/concourse-oci-resource + tag: edge + username: ((docker.username)) + password: ((docker.password)) jobs: -- name: build-push +- name: build-push-edge plan: - get: source trigger: true @@ -48,20 +61,21 @@ jobs: type: registry-image source: repository: redxef/concourse-buildkit - tag: v0.2.1 inputs: - name: source path: . - - name: docker-tags + outputs: + - name: build-output params: - username: ((docker.username)) - password: ((docker.password)) - repository: docker.io/redxef/concourse-oci-resource - tag: latest - additional_tags: docker-tags/tags.txt - push: true + dest: build-output/image.tar platform: aarch64,arm,ppc64le,s390x,x86_64 context: . - manual: false run: path: build + - put: concourse-oci-resource + inputs: + - build-output + - docker-tags + params: + image: build-output/image.tar + additional_tags: docker-tags/tags.txt