forked from kedacore/http-add-on
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (31 loc) · 948 Bytes
/
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
name: Build Images
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build_scaler:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build The Scaler
run: |
COMMIT=$(git rev-parse --short HEAD)
docker build --build-arg VERSION=${COMMIT} -t scaler -f scaler/Dockerfile .
build_operator:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build The Operator
run: |
COMMIT=$(git rev-parse --short=7 HEAD)
docker build --build-arg VERSION=${COMMIT} -t operator -f operator/Dockerfile .
build_interceptor:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build The Interceptor
run: |
COMMIT=$(git rev-parse --short=7 HEAD)
docker build --build-arg VERSION=${COMMIT} -t interceptor -f interceptor/Dockerfile .