Skip to content

Pipelining followups (#147) #7

Pipelining followups (#147)

Pipelining followups (#147) #7

Workflow file for this run

name: goreleaser
on:
push:
tags:
- 'v1.**'
permissions:
contents: write
# packages: write
# issues: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: go dependency
uses: actions/[email protected]
with:
go-version-file: 'go.mod'
- name: Setup QEMU (docker multi-arch dependency)
uses: docker/setup-qemu-action@v2
- name: Setup Docker Buildx (docker multi-arch dependency)
uses: docker/setup-buildx-action@v2
- name: dockerhub-login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}