Update pipeline to use new build image.

This commit is contained in:
redxef 2022-11-21 15:13:14 +01:00
parent d3561a592b
commit d5ad0fc9df
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -10,9 +10,23 @@ resources:
type: registry-image type: registry-image
source: source:
repository: alpine 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: jobs:
- name: build-push - name: build-push-latest
plan: plan:
- get: source - get: source
trigger: true trigger: true
@ -52,15 +66,17 @@ jobs:
- name: source - name: source
path: . path: .
- name: docker-tags - name: docker-tags
outputs:
- name: build-output
params: params:
username: ((docker.username)) dest: build-output/image.tar
password: ((docker.password))
repository: docker.io/redxef/certbot-ovh
tag: latest
additional_tags: docker-tags/tags.txt
push: true
platform: aarch64,arm,i386,ppc64le,s390x,x86_64 platform: aarch64,arm,i386,ppc64le,s390x,x86_64
context: .
manual: false
run: run:
path: build path: build
- put: image
inputs:
- build-output
- docker-tags
params:
image: build-output/image.tar
additional_tags: docker-tags/tags.txt