From 5f9aa6d38cf9b13c368786c9f3a32777765616c1 Mon Sep 17 00:00:00 2001 From: redxef Date: Mon, 21 Nov 2022 15:44:09 +0100 Subject: [PATCH] Update pipeline. --- ci/pipeline.yml | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 6b81260..b61b30e 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -11,6 +11,18 @@ resources: source: repository: nginx tag: alpine +- name: image + type: oci-image + source: + repository: redxef/nginx-envsubst + tag: latest + +resource_types: +- name: oci-image + type: registry-image + source: + repository: redxef/concourse-oci-image + tag: latest jobs: - name: build-push @@ -53,16 +65,18 @@ jobs: - name: source path: . - name: docker-tags + outputs: + - name: build-output params: - username: ((docker.username)) - password: ((docker.password)) - repository: docker.io/redxef/nginx-envsubst - 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