ci-images/.concourse/pipeline.yml

64 lines
1.5 KiB
YAML

---
resources:
- name: ci-images.git
type: git
icon: github
source:
uri: https://code.icb4dc0.de/prskr/ci-images.git
- name: caddy-release
type: github-release
icon: github
source:
owner: caddyserver
repository: caddy
access_token: ((github-credentials.token))
- name: ko-release
type: github-release
icon: github
source:
owner: ko-build
repository: ko
access_token: ((github-credentials.token))
jobs:
- name: caddy
plan:
- get: ci-images.git
trigger: true
- get: caddy-release
trigger: true
- task: caddy
file: ci-images.git/.concourse/tasks/image-build.yml
input_mapping:
repo: ci-images.git
vars:
build_context: caddy/
image_repo: code.icb4dc0.de/prskr/ci-images/caddy
- name: ko
plan:
- get: ci-images.git
trigger: true
- get: ko-release
trigger: true
- task: ko
file: ci-images.git/.concourse/tasks/image-build.yml
input_mapping:
repo: ci-images.git
vars:
build_context: ko/
image_repo: code.icb4dc0.de/prskr/ci-images/ko
- name: dind-go
plan:
- get: ci-images.git
trigger: true
- task: dind-go
file: ci-images.git/.concourse/tasks/image-build.yml
input_mapping:
repo: ci-images.git
vars:
build_context: dind-go/
image_repo: code.icb4dc0.de/prskr/ci-images/dind-go