Skip to content

ci: upgrade actions #56

ci: upgrade actions

ci: upgrade actions #56

Workflow file for this run

name: goreleaser
on:
push:
tags:
- "*"
env:
REGISTRY: ghcr.io
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
DOCKER_CLI_EXPERIMENTAL: enabled
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}