forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (39 loc) · 995 Bytes
/
publish-images.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
name: Build & Push All Components Images
on:
workflow_call:
inputs:
version:
description: "Version of image"
required: false
type: string
default: ci-checks
push:
description: "Push to registry"
required: true
type: boolean
secrets:
FLYTE_BOT_USERNAME:
required: true
FLYTE_BOT_PAT:
required: true
jobs:
push_docker_image:
name: Build & Push Image
strategy:
fail-fast: false
matrix:
component:
- datacatalog
- flyteadmin
- flytecopilot
- flytepropeller
- flytescheduler
uses: ./.github/workflows/publish.yml
with:
version: ${{ inputs.version }}
component: ${{ matrix.component }}
dockerfile: Dockerfile.${{ matrix.component }}
push: ${{ inputs.push }}
secrets:
FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }}
FLYTE_BOT_USERNAME: ${{ secrets.FLYTE_BOT_USERNAME }}