diff --git a/.github/workflows/build-boxkit.yml b/.github/workflows/build-boxkit.yml index 59dd18f..6333416 100644 --- a/.github/workflows/build-boxkit.yml +++ b/.github/workflows/build-boxkit.yml @@ -84,7 +84,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} # Sign container - - uses: sigstore/cosign-installer@v3.7.0 + - uses: sigstore/cosign-installer@v3.5.0 - name: Sign container image if: github.event_name != 'pull_request' diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..ed205d1 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,19 @@ +on: + push: + branches: + - main + + +permissions: + contents: write + pull-requests: write + +name: release-please +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v4 + with: + release-type: simple + package-name: release-please-action diff --git a/CHANGELOG.md b/CHANGELOG.md index b8aa4b9..492df3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 1.0.0 (2024-05-02) + + +### Features + +* add go packages ([d134acb](https://github.com/babariviere/boxkit/commit/d134acbceecd4a51a193e921e2602f04c197b4a1)) + + +### Bug Fixes + +* add missing permissions to release-please ([848627e](https://github.com/babariviere/boxkit/commit/848627e95ecc81af5d069bd690e6481a428bf700)) + ## [1.1.0](https://github.com/ublue-os/boxkit/compare/v1.0.0...v1.1.0) (2023-10-09) diff --git a/Containerfile b/Containerfile index 785dab2..b259d16 100644 --- a/Containerfile +++ b/Containerfile @@ -3,33 +3,22 @@ FROM quay.io/toolbx-images/alpine-toolbox:edge LABEL com.github.containers.toolbox="true" \ usage="This image is meant to be used with the toolbox or distrobox command" \ summary="A cloud-native terminal experience" \ - maintainer="me@babariviere.com" + maintainer="jorge.castro@gmail.com" -RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories - -COPY packages / +COPY extra-packages / RUN apk update && \ apk upgrade && \ - grep -v '^#' /packages | xargs apk add -RUN rm /packages + grep -v '^#' /extra-packages | xargs apk add +RUN rm /extra-packages COPY go-packages / -RUN grep -v '^#' /go-packages | xargs -n1 go install +RUN grep -v '^#' /go-packages | xargs go install RUN rm /go-packages RUN mv /root/go/bin/* /usr/local/bin/ -COPY krew-plugins / -RUN grep -v '^#' /krew-plugins | xargs -n1 kubectl krew install -RUN rm /krew-plugins -RUN for bin in /root/.krew/bin/*; do \ - mv $(readlink $bin) /usr/local/bin/$(basename $bin); \ - done -RUN rm -rf /root/.krew - RUN ln -fs /bin/sh /usr/bin/sh && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/flatpak && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/podman && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree && \ - ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/transactional-update && \ - ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/op + ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/transactional-update diff --git a/extra-packages b/extra-packages new file mode 100644 index 0000000..af4ac64 --- /dev/null +++ b/extra-packages @@ -0,0 +1,33 @@ +age +bat +btop +chezmoi +clipboard +cosign +dbus-x11 +direnv +emacs-pgtk +eza +fd +ffmpeg +fzf +github-cli +go +gopls +helm +jq +just +kubectl +kubectx +make +micro +nano +ncdu +ncurses +plocate +ripgrep +speedtest-cli +starship +wl-clipboard +yq-go +zstd diff --git a/go-packages b/go-packages index 8992550..6450439 100644 --- a/go-packages +++ b/go-packages @@ -1,2 +1 @@ -forge.babariviere.com/babariviere/sealme@latest -github.com/bitnami-labs/sealed-secrets/cmd/kubeseal@main \ No newline at end of file +forge.babariviere.com/babariviere/sealme@latest \ No newline at end of file diff --git a/krew-plugins b/krew-plugins deleted file mode 100644 index 9b1c344..0000000 --- a/krew-plugins +++ /dev/null @@ -1,4 +0,0 @@ -cilium -node-shell -popeye -rook-ceph diff --git a/packages b/packages deleted file mode 100644 index f3835d6..0000000 --- a/packages +++ /dev/null @@ -1,57 +0,0 @@ -aerc -age -atuin -bat -broot -btop -carapace -chezmoi -clipboard -cosign -dbus-x11 -direnv -editorconfig -elvish -eza -fd -ffmpeg -flux -fzf -fzf-tmux -github-cli -go -gopls -helm -jq -just -k9s -kakoune -kubectl -kubectl-bash-completion -kubectl-krew -kubectx -kubectx-bash-completion -kustomize -kustomize-bash-completion -lazygit -make -nano -ncdu -ncurses -plocate -podman-tui -ripgrep -cargo -rust -sad -sops -speedtest-cli -starship -stern -tealdeer -tmux -viddy -wl-clipboard -yq-go -zoxide -zstd