-
Notifications
You must be signed in to change notification settings - Fork 38
62 lines (57 loc) · 1.91 KB
/
march-image-build-push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: 'Build and Push Multi-Arch Image'
on:
workflow_dispatch:
push:
branches:
- 'main'
- 'release-*'
tags:
- 'v*'
concurrency:
group: march-build-${{ github.ref }}
cancel-in-progress: true
jobs:
push-quay:
name: Build and Push Manifest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
- name: Build Operator Container
uses: konveyor/release-tools/build-push-quay@main
with:
architectures: "amd64, arm64, ppc64le, s390x"
containerfile: "./Dockerfile"
image_name: "tackle2-operator"
image_namespace: "konveyor"
image_registry: "quay.io"
quay_publish_robot: ${{ secrets.QUAY_PUBLISH_ROBOT }}
quay_publish_token: ${{ secrets.QUAY_PUBLISH_TOKEN }}
ref: ${{ github.ref }}
- name: Build Operator Bundle
uses: konveyor/release-tools/build-push-quay@main
with:
architectures: "amd64"
containerfile: "./bundle.Dockerfile"
image_name: "tackle2-operator-bundle"
image_namespace: "konveyor"
image_registry: "quay.io"
quay_publish_robot: ${{ secrets.QUAY_PUBLISH_ROBOT }}
quay_publish_token: ${{ secrets.QUAY_PUBLISH_TOKEN }}
ref: ${{ github.ref }}
- name: Build Operator Index
uses: konveyor/release-tools/build-push-quay@main
with:
architectures: "amd64, arm64"
pre_build_cmd: |
CONTAINER_RUNTIME=podman \
CATALOG_IMG=quay.io/konveyor/tackle2-operator-index:latest \
BUNDLE_IMG=quay.io/konveyor/tackle2-operator-bundle:latest \
make catalog-index
containerfile: "./index.Dockerfile"
image_name: "tackle2-operator-index"
image_namespace: "konveyor"
image_registry: "quay.io"
quay_publish_robot: ${{ secrets.QUAY_PUBLISH_ROBOT }}
quay_publish_token: ${{ secrets.QUAY_PUBLISH_TOKEN }}
ref: ${{ github.ref }}