-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathbuild.yml
More file actions
23 lines (22 loc) · 829 Bytes
/
build.yml
File metadata and controls
23 lines (22 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
parameters:
- name: architectures
type: object
stages:
- ${{ each arch in parameters.architectures }}:
- stage: "${{ arch }}"
dependsOn: Prepare
jobs:
- job: Build
steps:
- template: install.yml
- script: >
containmint build
--tag "quay.io/ansible/scratchpad:$(ContainerName)-$(ContainerVersion)-$(Build.SourceBranchName)-$(Build.BuildId)-${{ arch }}"
--arch "${{ arch }}"
--context "$(ContainerContext)"
$(push_or_no_login)
displayName: Build
env:
CONTAINMINT_PASSWORD: $(CONTAINMINT_PASSWORD)
strategy:
matrix: $[ stageDependencies.Prepare.Matrix.outputs['Generate.containers'] ]