Skip to content

bump libconnect to 31fdd26 (#341) #27

bump libconnect to 31fdd26 (#341)

bump libconnect to 31fdd26 (#341) #27

Workflow file for this run

name: Release Signadot CLI
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]'
- 'v[0-9]+.[0-9]+.[0-9]+-xrc.[0-9]+'
env:
GO_VERSION: "1.25"
jobs:
release-cli:
name: "Release CLI"
env:
GOPRIVATE: github.com/signadot/libconnect
GH_ACCESS_TOKEN: ${{ secrets.SIGNADOT_GHA_GOBUILD_PAT }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
# Use a depth of 0 to fetch full history. This is the only way to fetch
# tags, needed to choose a version number to embed.
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@7b8cf10d4e4a01d4992d18a89f4d7dc5a3e6d6f4 # v4
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
- name: Prepare for GOPRIVATE
run: |
git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
- name: Docker Login
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
# run goreleaser
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6
with:
version: "~> v2"
args: release --clean
env:
SIGNADOT_IMAGE_SUFFIX: ''
GITHUB_TOKEN: ${{ secrets.SIGNADOT_GHA_GOBUILD_PAT }}
MCP_GITHUB_TOKEN: ${{ secrets.SIGNADOT_GHA_GOBUILD_PAT }}