Skip to content

Podman final

Podman final #26

Workflow file for this run

# https://goreleaser.com/ci/actions/
# TODO: replace other build github actions
name: Build on supported platforms
on:
push:
tags:
- "*"
branches:
- master
- dev
pull_request:
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '~1.19.6'
check-latest: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: v1.13.1
# TODO: automate github release page announce and artifact uploads
# https://goreleaser.com/cmd/goreleaser_release/
args: release --rm-dist --skip-announce --skip-publish
# to automate release announcement
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
# env:
# GITHUB_TOKEN: ...