-
Notifications
You must be signed in to change notification settings - Fork 66
42 lines (37 loc) · 1.14 KB
/
build.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
name: Envoy/build-tools
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.event.inputs.head_ref || github.run_id }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
build_image:
if: >-
${{
github.repository == 'envoyproxy/envoy-build-tools'
|| vars.ENVOY_CI_RUN == 'true'
}}
strategy:
fail-fast: false
matrix:
include:
- target: ubuntu
name: Linux Ubuntu
gcr_push: true
name: Build (${{ matrix.name || matrix.target }})
uses: ./.github/workflows/_build_image.yml
with:
distro: ${{ matrix.target }}
gcr_push: ${{ matrix.gcr_push }}
gcr_name: ${{ matrix.gcr_name != '' && matrix.gcr_name || 'envoy-build' }}
os_family: ${{ matrix.os_family != '' && matrix.os_family || 'linux' }}
host_platform: ${{ matrix.host_platform != '' && matrix.host_platform || 'ubuntu-22.04' }}
secrets:
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}
gcp_key: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}