Update pipeline.
This commit is contained in:
parent
5b011a361b
commit
5f9aa6d38c
1 changed files with 22 additions and 8 deletions
|
@ -11,6 +11,18 @@ resources:
|
||||||
source:
|
source:
|
||||||
repository: nginx
|
repository: nginx
|
||||||
tag: alpine
|
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:
|
jobs:
|
||||||
- name: build-push
|
- name: build-push
|
||||||
|
@ -53,16 +65,18 @@ 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/nginx-envsubst
|
|
||||||
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue