forked from kubernetes-sigs/prow
-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (49 loc) · 1.23 KB
/
publish-images.yml
File metadata and controls
52 lines (49 loc) · 1.23 KB
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
name: Publish images
on:
push:
branches:
- release
paths:
- "**/*.go"
- "**/*.html"
- go.mod
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
push-images:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.25"
- name: Log in to the Container registry
uses: ko-build/setup-ko@v0.8
- name: Build & Push images
env:
REGISTRY: ghcr.io/ti-community-infra/prow
run: |
images=(
cmd/checkconfig
cmd/crier
cmd/deck
cmd/external-plugins/chatgpt
cmd/external-plugins/cherrypicker
cmd/external-plugins/refresh
cmd/hook
cmd/horologium
cmd/jenkins-operator
cmd/peribolos
cmd/prow-controller-manager
cmd/sinker
cmd/status-reconciler
cmd/tide
)
for image in "${images[@]}"; do
make push-single-image PROW_IMAGE=$image REGISTRY=${REGISTRY}
done