Skip to content

chore(deps): update golang docker tag to v1.20.6 (#14) #15

chore(deps): update golang docker tag to v1.20.6 (#14)

chore(deps): update golang docker tag to v1.20.6 (#14) #15

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@v3
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
-
uses: actions/cache@v3
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/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
args: release --rm-dist --debug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}