pipeline wip.

This commit is contained in:
redxef 2022-08-29 23:09:30 +02:00
parent 76a2282124
commit 33015f31d8
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -1,4 +1,10 @@
--- ---
resource_types:
- name: oci-image
type: registry-image
source:
repository: redxef/concourse-oci-resource
tag: latest
resources: resources:
- name: source - name: source
type: git type: git
@ -10,9 +16,16 @@ resources:
type: registry-image type: registry-image
source: source:
repository: alpine repository: alpine
- name: concourse-oci-resource
type: oci-image
source:
repository: redxef/concourse-oci-resource
tag: edge
username: ((docker.username))
password: ((docker.password))
jobs: jobs:
- name: build-push - name: build-push-edge
plan: plan:
- get: source - get: source
trigger: true trigger: true
@ -48,20 +61,21 @@ jobs:
type: registry-image type: registry-image
source: source:
repository: redxef/concourse-buildkit repository: redxef/concourse-buildkit
tag: v0.2.1
inputs: inputs:
- name: source - name: source
path: . path: .
- name: docker-tags outputs:
- name: build-output
params: params:
username: ((docker.username)) dest: build-output/image.tar
password: ((docker.password))
repository: docker.io/redxef/concourse-oci-resource
tag: latest
additional_tags: docker-tags/tags.txt
push: true
platform: aarch64,arm,ppc64le,s390x,x86_64 platform: aarch64,arm,ppc64le,s390x,x86_64
context: . context: .
manual: false
run: run:
path: build path: build
- put: concourse-oci-resource
inputs:
- build-output
- docker-tags
params:
image: build-output/image.tar
additional_tags: docker-tags/tags.txt