Skip to content

Publishing

Hollow Man edited this page Apr 17, 2023 · 10 revisions

Release Asserts and Docker client images

Release Asserts and Docker client images are generated by the 02-create_release workflow when a new tag such as v1.2.3-rc.4 gets pushed into the kubescape repository. It includes:

  • kubescape-ubuntu-latest: Linux amd64 executable built on GitHub Actions Runner ubuntu-20.04
  • kubescape-ubuntu-latest.sha256: SHA256 of the Linux amd64 executable
  • kubescape-ubuntu-latest.tar.gz: Tarball containing the LICENSE and kubescape Linux amd64 executable
  • kubescape-arm64-ubuntu-latest: Linux ARM64 executable built with Docker Golang Bullseye image and QEMU on GitHub Actions Runner
  • kubescape-arm64-ubuntu-latest.sha256: SHA256 of the Linux ARM64 executable
  • kubescape-arm64-ubuntu-latest.tar.gz: Tarball containing the LICENSE and kubescape Linux ARM64 executable
  • kubescape-macos-latest: Intel macOS executable built on GitHub Actions Runner macos-latest
  • kubescape-macos-latest.sha256: SHA256 of the Intel macOS executable
  • kubescape-macos-latest.tar.gz: Tarball containing the LICENSE and kubescape Intel macOS executable
  • kubescape-arm64-macos-latest: Silicon (M1/M2) macOS executable built on GitHub Actions Runner macos-latest with Golang cross compile and libgit2 ARM64 build option -DCMAKE_OSX_ARCHITECTURES="arm64".
  • kubescape-arm64-macos-latest.sha256: SHA256 of the Silicon (M1/M2) macOS executable
  • kubescape-arm64-macos-latest.tar.gz: Tarball containing the LICENSE and kubescape Silicon (M1/M2) macOS executable
  • kubescape.exe: Windows x86_64 executable built on GitHub Actions Runner windows-latest
  • kubescape-windows-latest: Deprecated, same as kubescape.exe
  • kubescape-windows-latest.sha256: SHA256 of the Windows x86_64 executable
  • kubescape-windows-latest.tar.gz: Tarball containing the LICENSE and kubescape.exe Windows x86_64 executable

Docker client images are tagged with current version and latest when publishing.

Krew plugin gets updated automatically after each release, with the help of the krew-release-bot workflow.

Homebrew-tap has a workflow that can auto bump the kubescape version in its own repository. That workflow will get triggered automatically by the kubescape post release workflow once a new release of kubescape is made.

Packaging has a workflow that can auto bump the kubescape version in its own repository packaging scripts. That workflow will get triggered automatically by the kubescape post release workflow once a new release of kubescape is made. The workflow will also upload the updated source code to the stated place for building and distribution.

We link the packaging repo to Snapcraft build service and use Snapcraft building from GitHub, so that snap will get built automatically each time a new commit is made to the packaging repo.

Packaging repository includes the following formats:

Distributed via openSUSE Open Build Service.

Distributed via Ubuntu PPA and openSUSE Open Build Service.

Distributed via AUR and openSUSE Open Build Service.

Distributed via snapcraft store.