Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Latest commit

 

History

History
62 lines (48 loc) · 1.54 KB

BUILD.md

File metadata and controls

62 lines (48 loc) · 1.54 KB

Build

Overview

Includes workflows for running various language independent build tools.

Tools Section

Name Type Default Section Description
buildImage String mage Docker image that has Mage installed.
target String mage The mage target to execute.
mageFileDir String . mage The directory containing your magefile.

Available Methods

mage

Execute mage targets.

Name Type Default Description
buildImage String Docker image that has Mage installed.
target String The mage target to execute.
mageFileDir String . The directory containing your magefile.

mage Example

branches:
  feature:
    steps:
    - build:
      - mage:
      - mage:
          target: Install

Full Example Pipeline

pipelines:
  tools:
    mage:
      buildImage: "quay.io/example/mage"
    branches:
      patterns:
        feature: .+
  branches:
    feature:
      steps:
        - build:
          - mage:
        - build:
          - mage:
              target: Docker

Additional Resources