# 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: artifact caches: - path: repo/target - path: /usr/local/cargo/registry params: CI: "true" TARGET: ((target)) GITEA_API_KEY: ((gitea_api_key)) REF: ((ref)) PR: ((pr)) OUTPUT: artifact run: path: repo/.ci/util/run.sh args: - repo/.ci/tasks/build.sh - build/((target)) - "Build for the target platform: ((target))"