Update ci.
This commit is contained in:
parent
eed475446d
commit
79cb829e55
1 changed files with 24 additions and 8 deletions
|
@ -10,6 +10,20 @@ resources:
|
|||
type: registry-image
|
||||
source:
|
||||
repository: alpine
|
||||
- name: image
|
||||
type: oci-image
|
||||
source:
|
||||
repository: redxef/certbot-duckdns
|
||||
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
|
||||
|
@ -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-duckdns
|
||||
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
|
||||
additionaltags: docker-tags/tags.txt
|
||||
|
|
Loading…
Reference in a new issue