Skip to content

Add support for appropriate GOMAXPROCS that's aware of Kubernetes lim… #24

Add support for appropriate GOMAXPROCS that's aware of Kubernetes lim…

Add support for appropriate GOMAXPROCS that's aware of Kubernetes lim… #24

Workflow file for this run

name: Releasing
on:
push:
tags:
- "*"
jobs:
goreleaser:
name: Release Application
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-file: go.mod
- name: Test application
run: go test ./...
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: "ghcr.io"
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Release application to Github
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}