31 lines
652 B
YAML
31 lines
652 B
YAML
# yaml-language-server: $schema=https://raw.githubusercontent.com/cappyzawa/concourse-pipeline-jsonschema/master/concourse_jsonschema.json#/definitions/TaskConfig
|
|
---
|
|
platform: linux
|
|
|
|
image_resource:
|
|
name: ctmt-bi-base-((target))
|
|
type: registry-image
|
|
source:
|
|
repository: registry.local:5000/dtmt-ci-base-((target))
|
|
tag: latest
|
|
|
|
inputs:
|
|
- name: repo
|
|
|
|
outputs:
|
|
- name: artifacts
|
|
|
|
params:
|
|
CI: "true"
|
|
TARGET: ((target))
|
|
GITEA_API_KEY: ((gitea_api_key))
|
|
REF: ((ref))
|
|
OUTPUT: artifacts
|
|
|
|
run:
|
|
path: .ci/util/run.sh
|
|
dir: repo
|
|
args:
|
|
- .ci/tasks/build.sh
|
|
- build/((target))
|
|
- "Build for the target platform: ((target))"
|