-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. | ||
# | ||
# Generated on 2024-04-23T09:10:31Z by kres ebc009d. | ||
|
||
policies: | ||
- type: commit | ||
spec: | ||
dco: true | ||
gpg: | ||
required: true | ||
identity: | ||
gitHubOrganization: samip5 | ||
spellcheck: | ||
locale: US | ||
maximumOfOneCommit: true | ||
header: | ||
length: 89 | ||
imperative: true | ||
case: lower | ||
invalidLastCharacters: . | ||
body: | ||
required: true | ||
conventional: | ||
types: | ||
- chore | ||
- docs | ||
- perf | ||
- refactor | ||
- style | ||
- test | ||
- release | ||
scopes: | ||
- .* | ||
- type: license | ||
spec: | ||
root: . | ||
skipPaths: | ||
- .git/ | ||
- testdata/ | ||
includeSuffixes: | ||
- .go | ||
excludeSuffixes: | ||
- .pb.go | ||
- .pb.gw.go | ||
header: | | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at http://mozilla.org/MPL/2.0/. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[worker.oci] | ||
gc = true | ||
gckeepstorage = 50000 | ||
|
||
[[worker.oci.gcpolicy]] | ||
keepBytes = 10737418240 | ||
keepDuration = 604800 | ||
filters = [ "type==source.local", "type==exec.cachemount", "type==source.git.checkout"] | ||
[[worker.oci.gcpolicy]] | ||
all = true | ||
keepBytes = 53687091200 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: rpi-kernel | ||
|
||
on: | ||
push: | ||
branches: [ 'main', 'release-*' ] | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
sbc: | ||
runs-on: buildjet-16vcpu-ubuntu-2204-arm | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- name: Lowercase repository owner | ||
shell: bash | ||
run: echo "LOWERCASE_REPO_OWNER=${GITHUB_REPOSITORY_OWNER,,}" >> $GITHUB_ENV | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
# need history for `git describe` to work for Talos `Makefile` | ||
fetch-depth: 0 | ||
fetch-tags: true | ||
|
||
- uses: docker/setup-buildx-action@v3 | ||
with: | ||
buildkitd-config: .github/buildkitd.toml | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and push rpi kernel image | ||
run: make | ||
env: | ||
PUSH: '1' | ||
USERNAME: ${LOWERCASE_REPO_OWNER} | ||
PLATFORM: linux/arm64 | ||
PROGRESS: plain | ||
CI_ARGS: "--cache-from=ghcr.io/${LOWERCASE_REPO_OWNER}/rpi-talos-kernel:cache --cache-to=ghcr.io/${LOWERCASE_REPO_OWNER}/rpi-talos-kernel:cache" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.