Skip to content

feat: switch default container image from Ubuntu to Alpine (#668) #25

feat: switch default container image from Ubuntu to Alpine (#668)

feat: switch default container image from Ubuntu to Alpine (#668) #25

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
lint-and-test:
uses: ./.github/workflows/lint_and_test.yml
goreleaser:
runs-on: ubuntu-latest
needs: [lint-and-test]
steps:
- name: Harden Runner
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: 'go.mod'
- name: Login to GitHub Container Registry
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
with:
version: '~> v2'
args: release --clean
env:
# needed for updating https://github.com/patrickhoefler/homebrew-tap
GITHUB_TOKEN: ${{ secrets.GH_PAT }}