name: release on: create: tags: - v* jobs: release: if: ${{ github.repository_owner == 'helm'}} runs-on: ubuntu-latest steps: - name: Checkout source code uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # pin@v3.2.0 - name: Setup Go uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # pin@3.5.0 with: go-version-file: go.mod - name: Set Version id: set-version run: | echo "VERSION=$(echo ${GITHUB_REF_NAME}" >> $GITHUB_OUTPUT - name: Build Helm Binaries run: | make build-cross make dist checksum VERSION="${{ steps.set-version.outputs.VERSION }}" - name: Upload Binaries uses: bacongobbler/azure-blob-storage-upload@50f7d898b7697e864130ea04c303ca38b5751c50 # pin@3.0.0 env: AZURE_STORAGE_CONNECTION_STRING: "${{ secrets.AZURE_STORAGE_CONNECTION_STRING }}" AZURE_STORAGE_CONTAINER_NAME: "${{ secrets.AZURE_STORAGE_CONTAINER_NAME }}" with: source_dir: _dist container_name: ${{ secrets.AZURE_STORAGE_CONTAINER_NAME }} connection_string: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }} extra_args: '--pattern helm-*'