Skip to content

chore(deps): update golang docker tag to v1.23.2 (#47) #47

chore(deps): update golang docker tag to v1.23.2 (#47)

chore(deps): update golang docker tag to v1.23.2 (#47) #47

Workflow file for this run

name: Release
env:
REGISTRY: ghcr.io
on:
push:
branches: [ "main" ]
tags:
- "v*"
jobs:
releasing:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
with:
go-version: "~1.21"
-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
-
name: Log in to the Container registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6
with:
args: release --clean --verbose --auto-snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}