-
Notifications
You must be signed in to change notification settings - Fork 1.7k
52 lines (47 loc) · 1.72 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
43
44
45
46
47
48
49
50
51
52
name: "Build Chainlink"
on:
pull_request:
jobs:
build-chainlink:
runs-on: ubuntu-20.04
if: ${{ ! startsWith(github.head_ref, 'release/') && ! startsWith(github.ref_name, 'chore/') }}
steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: change
with:
predicate-quantifier: every
filters: |
changelog-only:
- 'CHANGELOG.md'
- '!common/**'
- '!contracts/**'
- '!core/**'
- '!crib/**'
- '!dashboard-lib/**'
- '!fuzz/**'
- '!integration-tests/**'
- '!internal/**'
- '!operator_ui/**'
- '!plugins/**'
- '!tools/**'
- name: Build chainlink image
if: ${{ steps.change.outputs.changelog-only == 'false' }}
uses: ./.github/actions/build-sign-publish-chainlink
with:
dockerhub_username: ${{ secrets.DOCKERHUB_READONLY_USERNAME }}
dockerhub_password: ${{ secrets.DOCKERHUB_READONLY_PASSWORD }}
publish: false
sign-images: false
- name: Collect Metrics
if: always()
id: collect-gha-metrics
uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1
with:
id: build-chainlink
org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }}
basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }}
hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }}
this-job-name: build-chainlink
continue-on-error: true