generated from kedacore/github-template
-
Notifications
You must be signed in to change notification settings - Fork 95
41 lines (38 loc) · 1.25 KB
/
images.yaml
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 Images
on:
pull_request:
branches: [main]
jobs:
build_scaler:
runs-on: ubuntu-latest
container: ghcr.io/kedacore/build-tools:1.19.5
steps:
- uses: actions/checkout@v3
- name: Register workspace path
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Build The Scaler
run: |
COMMIT=$(git rev-parse --short HEAD)
VERSION=${COMMIT} make docker-build-scaler
build_operator:
runs-on: ubuntu-latest
container: ghcr.io/kedacore/build-tools:1.19.5
steps:
- uses: actions/checkout@v3
- name: Register workspace path
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Build The Operator
run: |
COMMIT=$(git rev-parse --short=7 HEAD)
VERSION=${COMMIT} make docker-build-operator
build_interceptor:
runs-on: ubuntu-latest
container: ghcr.io/kedacore/build-tools:1.19.5
steps:
- uses: actions/checkout@v3
- name: Register workspace path
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Build The Interceptor
run: |
COMMIT=$(git rev-parse --short=7 HEAD)
VERSION=${COMMIT} make docker-build-interceptor