-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into use-scripts
- Loading branch information
Showing
5 changed files
with
42 additions
and
10 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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
name: build-boxkit | ||
on: | ||
workflow_dispatch: # allow manually triggering builds | ||
pull_request: | ||
branches: | ||
- main | ||
|
@@ -8,8 +9,8 @@ on: | |
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- '**/README.md' | ||
paths-ignore: # don't rebuild on documentation change | ||
- '**.md' | ||
env: | ||
IMAGE_TAGS: latest | ||
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }} | ||
|
@@ -27,11 +28,12 @@ jobs: | |
matrix: | ||
containerfile: | ||
- boxkit | ||
#- fedora-example # Included as an example to demonstrate multi-image builds, uncomment to build the fedora-example container too | ||
#- fedora-example # Included as an example to demonstrate multi-image builds, uncomment to build the fedora-example container too | ||
steps: | ||
# Checkout push-to-registry action GitHub repository | ||
- name: Checkout Push to Registry action | ||
uses: actions/checkout@v4 | ||
|
||
# Build metadata | ||
- name: Image Metadata | ||
uses: docker/metadata-action@v5 | ||
|
@@ -52,7 +54,7 @@ jobs: | |
image: ${{ matrix.containerfile }} | ||
tags: ${{ env.IMAGE_TAGS }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
oci: false | ||
oci: true | ||
|
||
# Workaround bug where capital letters in your GitHub username make it impossible to push to GHCR. | ||
# https://github.com/macbre/push-to-ghcr/issues/12 | ||
|
@@ -75,8 +77,6 @@ jobs: | |
registry: ${{ steps.registry_case.outputs.lowercase }} | ||
username: ${{ env.REGISTRY_USER }} | ||
password: ${{ env.REGISTRY_PASSWORD }} | ||
extra-args: | | ||
--disable-content-trust | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
|
@@ -86,7 +86,8 @@ jobs: | |
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# Sign container | ||
- uses: sigstore/[email protected] | ||
- name: Install cosign | ||
uses: sigstore/[email protected] | ||
|
||
- name: Sign container image | ||
if: github.event_name != 'pull_request' | ||
|
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
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,30 @@ | ||
age | ||
atuin | ||
btop | ||
bat | ||
chezmoi | ||
clipboard | ||
cosign | ||
dbus-x11 | ||
direnv | ||
eza | ||
ffmpeg | ||
fzf | ||
github-cli | ||
helix | ||
just | ||
make | ||
micro | ||
ncdu | ||
ncurses | ||
neovim | ||
npm | ||
plocate | ||
python3 | ||
ripgrep | ||
speedtest-cli | ||
starship | ||
vimdiff | ||
wl-clipboard | ||
zellij | ||
zstd |
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 @@ | ||
helix |