1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
Maksym Pavlenko c78f50ded5 Merge pull request #253 from mxpv/dependabot/github_actions/goreleaser/goreleaser-action-2.8.0
Bump goreleaser/goreleaser-action from 1 to 2.8.0
2021-12-31 12:54:02 +02:00

35 lines
753 B
YAML

name: Release
on:
push:
tags:
- 'v*'
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
# Required for the changelog to work correctly
- run: git fetch --prune --unshallow
- uses: actions/setup-go@v2.1.5
with:
go-version: 1.15
- env:
DOCKER_LOGIN: ${{ secrets.DOCKER_LOGIN }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: docker login --username "$DOCKER_LOGIN" --password "$DOCKER_PASSWORD"
- uses: goreleaser/goreleaser-action@v2.8.0
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}