ci-images/.concourse/pipeline.yml

65 lines
1.5 KiB
YAML
Raw Normal View History

2022-12-30 13:39:09 +00:00
---
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))
2022-12-30 13:39:09 +00:00
2023-01-03 20:24:12 +00:00
- name: ko-release
type: github-release
icon: github
source:
owner: ko-build
repository: ko
access_token: ((github-credentials.token))
2022-12-30 13:39:09 +00:00
jobs:
2023-01-03 20:24:12 +00:00
- name: caddy
2022-12-30 13:39:09 +00:00
plan:
- get: ci-images.git
trigger: true
- get: caddy-release
trigger: true
- task: caddy
2023-02-17 17:06:31 +00:00
file: ci-images.git/.concourse/tasks/image-build.yml
2023-01-03 20:24:12 +00:00
input_mapping:
repo: ci-images.git
2023-02-17 17:06:31 +00:00
vars:
build_context: caddy/
image_repo: code.icb4dc0.de/prskr/ci-images/caddy
2023-01-03 20:24:12 +00:00
- name: ko
plan:
- get: ci-images.git
trigger: true
- get: ko-release
trigger: true
- task: ko
2023-02-17 17:06:31 +00:00
file: ci-images.git/.concourse/tasks/image-build.yml
2022-12-30 13:39:09 +00:00
input_mapping:
2023-02-17 17:06:31 +00:00
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