Skip to content

Use Distroless instead of Alpine #2

Use Distroless instead of Alpine

Use Distroless instead of Alpine #2

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
# HINT(lukasmalkmus): Make sure release jobs are only ever run once at a time
# (and are never cancelled when new jobs for the same group are queued).
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- uses: goreleaser/goreleaser-action@v4
with:
args: release
env:
GITHUB_TOKEN: ${{ github.token }}
HOMEBREW_TOKEN: ${{ secrets.HOMEBREW_TOKEN }}