From d5ad0fc9df4a3a6b07b9f0337480711aca118509 Mon Sep 17 00:00:00 2001 From: redxef Date: Mon, 21 Nov 2022 15:13:14 +0100 Subject: [PATCH] Update pipeline to use new build image. --- ci/pipeline.yml | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index c3bdfd6..f00ed24 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -10,9 +10,23 @@ resources: type: registry-image source: repository: alpine +- name: image + type: oci-image + source: + repository: redxef/certbot-ovh + tag: latest + username: ((docker.username)) + password: ((docker.password)) + +resource_types: +- name: oci-image + type: registry-image + source: + repository: redxef/concourse-oci-resource + tag: latest jobs: -- name: build-push +- name: build-push-latest plan: - get: source trigger: true @@ -52,15 +66,17 @@ jobs: - name: source path: . - name: docker-tags + outputs: + - name: build-output params: - username: ((docker.username)) - password: ((docker.password)) - repository: docker.io/redxef/certbot-ovh - tag: latest - additional_tags: docker-tags/tags.txt - push: true + dest: build-output/image.tar platform: aarch64,arm,i386,ppc64le,s390x,x86_64 - context: . - manual: false run: path: build + - put: image + inputs: + - build-output + - docker-tags + params: + image: build-output/image.tar + additional_tags: docker-tags/tags.txt