Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/build-cl-node.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Build CL image with plugins
on:
push:

jobs:
test:
runs-on: ubuntu22.04-16cores-64GB

Check failure on line 7 in .github/workflows/build-cl-node.yaml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. This Ubuntu runner is 4-8 more expensive than a base Ubuntu runner. Consider using a smaller Ubuntu runner. (runner-ubuntu / error)
permissions:
id-token: write
contents: read
steps:
- name: Checkout Chainlink repository
uses: actions/checkout@v3

Check warning on line 13 in .github/workflows/build-cl-node.yaml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. Action is using node16 (node-version / warning)
with:
repository: smartcontractkit/chainlink
path: chainlink-repo
- name: Set up Go
uses: actions/setup-go@v4

Check warning on line 18 in .github/workflows/build-cl-node.yaml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. Action is using node16 (node-version / warning)
with:
go-version-file: /home/runner/work/chainlink-ccv/chainlink-ccv/chainlink-repo/go.mod
- name: Cache Go modules
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-cl-${{ hashFiles('/home/runner/work/chainlink-ccv/chainlink-ccv/chainlink-repo/go.mod') }}
restore-keys: |
${{ runner.os }}-go-cl-
- name: Download Go modules
working-directory: /home/runner/work/chainlink-ccv/chainlink-ccv/chainlink-repo
run: go mod download
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Check failure on line 34 in .github/workflows/build-cl-node.yaml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. v2 is not a valid SHA reference (sha-ref / error) 2. No version comment found (version-comment / warning) 3. Action is using node16 (node-version / warning)
- name: Build and Load Docker Image
uses: docker/build-push-action@v4

Check failure on line 36 in .github/workflows/build-cl-node.yaml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. v4 is not a valid SHA reference (sha-ref / error) 2. No version comment found (version-comment / warning) 3. Action is using node16 (node-version / warning)
with:
cache-from: type=gha,scope=ccv
cache-to: type=gha,scope=ccv,mode=max
context: /home/runner/work/chainlink-ccv/chainlink-ccv/chainlink-repo
file: /home/runner/work/chainlink-ccv/chainlink-ccv/chainlink-repo/plugins/chainlink.Dockerfile
load: true
tags: local
build-args: |
BUILDKIT_INLINE_CACHE=1
Loading