Skip to content

deps: bump golang.org/x/sys from 0.43.0 to 0.44.0 (#2302) #1189

deps: bump golang.org/x/sys from 0.43.0 to 0.44.0 (#2302)

deps: bump golang.org/x/sys from 0.43.0 to 0.44.0 (#2302) #1189

name: Release Retina Charts
on:
push:
branches: [main]
tags: ["v*"]
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write
jobs:
push-retina-charts:
name: Publish Retina Helm Charts
runs-on: ubuntu-latest
timeout-minutes: 30
if: github.ref_type == 'tag'
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0
id: install
- name: Install Cosign
uses: sigstore/cosign-installer@cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003 # v4.1.1
- name: Log in to registry (Helm for pushing chart, Docker for signing and push signature)
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io -u $ --password-stdin
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Build, Push and Sign chart
id: build_chart
shell: bash
run: |
set -euo pipefail
export TAG=$(make version)
helm package ./deploy/standard/manifests/controller/helm/retina --version $TAG
# Get Helm chart's SHA digest from helm push cmd output
helm push retina-$TAG.tgz oci://ghcr.io/${{ github.repository }}/charts >> helm_push_result.txt 2>&1
cat helm_push_result.txt
cosign sign --yes ghcr.io/${{ github.repository }}/charts/retina@$(tail -n 1 helm_push_result.txt | awk '{ print $2 }')
- name: Build, Push and Sign Hubble chart
id: build_hubble_chart
shell: bash
run: |
set -euo pipefail
export TAG=$(make version)
helm package ./deploy/hubble/manifests/controller/helm/retina --version $TAG
# Get Helm chart's SHA digest from helm push cmd output
helm push retina-hubble-$TAG.tgz oci://ghcr.io/${{ github.repository }}/charts >> helm_push_hubble.txt 2>&1
cat helm_push_hubble.txt
cosign sign --yes ghcr.io/${{ github.repository }}/charts/retina-hubble@$(tail -n 1 helm_push_hubble.txt | awk '{ print $2 }')