forked from bpftrace/bpftrace
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Replace embedded quay.io image with appimage
This commit creates a new GHA job that builds and uploads the bpftrace appimage to the commit's build artifacts. This is intended to replace the previous quay.io images. Also update scripts/create-assets.md and release_process.md to use the appimage. Note we stop compressing the bpftrace binary alone -- the appimage is already zstd compressed.
- Loading branch information
Showing
3 changed files
with
34 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This workflow builds and uploads the bpftrace appimage as a build artifact. | ||
# | ||
# This is useful for users who want to download the latest and greatest bpftrace | ||
# binary without going through a local build. | ||
|
||
name: Binary | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build-and-upload: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: DeterminateSystems/nix-installer-action@v4 | ||
- uses: DeterminateSystems/magic-nix-cache-action@v2 | ||
|
||
- name: Build appimage | ||
run: nix build .#appimage | ||
|
||
- name: Upload appimage | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: bpftrace | ||
path: ./result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters