Skip to content

chore(deps): update Ferret Core to v2.0.0-alpha.33 (#39) #75

chore(deps): update Ferret Core to v2.0.0-alpha.33 (#39)

chore(deps): update Ferret Core to v2.0.0-alpha.33 (#39) #75

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
packages: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.24'
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up env vars
run: |
export FERRET_VERSION=$(sh scripts/versions.sh ferret)
echo "FERRET_VERSION=$FERRET_VERSION" >> $GITHUB_ENV
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GitHub Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v7
with:
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}