Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create initial nightly build/publish workflow #16701

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

chainchad
Copy link
Collaborator

@chainchad chainchad commented Mar 8, 2025

This creates and publishes a "nightly" build (in the form of a Docker image) from trunk for:

  1. core
  2. core + plugins
  3. ccip

In the future, we'll create the builds only if certain pre-requisites such as ci-core.yml and integration-tests.yml workflows on the same commit are passing.

This uses a new reusable workflow which itself uses new actions:

  1. build-push-docker
  2. build-push-docker-manifest

These new actions give us the following features:

  1. SBOM / provenance
  2. Manifest signing
  3. Multiple arch support (amd64/arm64) with a manifest creation (just refer to one tag and it will pull the right platform)
  4. Each arch build runs on a respective runner of that type (e.g. arm64 builds on arm64 runners)
  5. Complete GitHub Summary with image details
  6. Consistent docker image tags. Specify type: pr, nightly, branch, tag and get a standardized/tagged image.

Once we get comfortable with this new workflow and its underlying actions, the goal would be to use this pattern for all builds on this (and other!) repos such as builds for PR's, tagged releases, and pushes to trunk.

@chainchad chainchad force-pushed the re-3449/nightly-builds branch 6 times, most recently from 64cae0e to 1f15816 Compare March 10, 2025 18:12
@chainchad chainchad force-pushed the re-3449/nightly-builds branch from 1f15816 to dda70ea Compare March 10, 2025 19:18
@chainchad chainchad marked this pull request as ready for review March 10, 2025 19:20
@chainchad chainchad requested review from a team as code owners March 10, 2025 19:20
@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@chainchad chainchad added this pull request to the merge queue Mar 11, 2025
Merged via the queue into develop with commit 95034d2 Mar 11, 2025
97 checks passed
@chainchad chainchad deleted the re-3449/nightly-builds branch March 11, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants