Skip to content

build(deps): bump library/golang from 1.22.0-alpine to 1.22.1-alpine … #14

build(deps): bump library/golang from 1.22.0-alpine to 1.22.1-alpine …

build(deps): bump library/golang from 1.22.0-alpine to 1.22.1-alpine … #14

Workflow file for this run

name: Release
on:
push:
tags: [ 'v*.*.*' ]
permissions: {}
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
with:
fetch-depth: 0
- name: Get latest Go version
id: gover
run: echo goversion=$(grep "AS apk" Dockerfile.test | awk -F':|-' '!/^#/ {print $2}') >> "$GITHUB_OUTPUT"
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # tag=v5.0.0
with:
go-version: "${{ steps.gover.outputs.goversion }}"
- name: Set up Cosign
uses: sigstore/cosign-installer@e1523de7571e31dbe865fd2e80c5c7c23ae71eb4 # tag=v3.4.0
- uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # tag=v3.0.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # tag=v5.0.0
with:
distribution: goreleaser
version: v1.14.1
args: release --rm-dist --parallelism=1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}