-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix secrets for commit id uploads (#6368)
Signed-off-by: galal-hussein <[email protected]>
- Loading branch information
1 parent
3086003
commit f614a14
Showing
2 changed files
with
61 additions
and
8 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
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,40 @@ | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- "**.md" | ||
- "channel.yaml" | ||
- "install.sh" | ||
- "!.github/workflows/test-suite.yaml" | ||
|
||
name: PR Build | ||
permissions: | ||
contents: read | ||
jobs: | ||
build-amd64: | ||
runs-on: runs-on,runner=8cpu-linux-x64,run-id=${{ github.run_id }},image=ubuntu22-full-x64,hdd=64 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Install Dapper | ||
run: | | ||
curl -sL https://releases.rancher.com/dapper/latest/dapper-$(uname -s)-$(uname -m) > /usr/local/bin/dapper | ||
chmod +x /usr/local/bin/dapper | ||
- name: Build | ||
run: | | ||
dapper -f Dockerfile --target dapper make dapper-ci | ||
- name: Test | ||
run: | | ||
dapper -f Dockerfile --target dapper make test | ||
build-arm64: | ||
runs-on: runs-on,runner=8cpu-linux-arm64,run-id=${{ github.run_id }},image=ubuntu22-full-arm64,hdd=64 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Install Dapper | ||
run: | | ||
curl -sL https://releases.rancher.com/dapper/latest/dapper-$(uname -s)-$(uname -m) > /usr/local/bin/dapper | ||
chmod +x /usr/local/bin/dapper | ||
- name: Build | ||
run: | | ||
dapper -f Dockerfile --target dapper make dapper-ci | ||