Skip to content

nixpkgs: go 1.26.5 -> 1.26.6 #6

nixpkgs: go 1.26.5 -> 1.26.6

nixpkgs: go 1.26.5 -> 1.26.6 #6

Workflow file for this run

# Copyright 2026 Edgeless Systems GmbH
# SPDX-License-Identifier: BUSL-1.1
name: publish
on:
workflow_dispatch:
push:
branches:
- main
tags:
- "v*"
permissions:
contents: write
packages: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@21a544727d0c62386e78b4befe52d19ad12692e3 # v14
- name: Log in to ghcr.io
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push versioned tag
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
run: nix run .#push -- "v$(cat version.txt)"
- name: Push latest tag (main only)
if: github.ref == 'refs/heads/main'
run: nix run .#push -- latest
- name: Render manifest and publish release
if: startsWith(github.ref, 'refs/tags/v')
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
out="$RUNNER_TEMP/collateral-proxy.yml"
nix run .#render-k8s-resources > "$out"
gh release create "${{ github.ref_name }}" \
--title "${{ github.ref_name }}" \
--generate-notes \
"$out"