prometheus-jitsi-meet-exporter/.github/workflows/release.yaml

36 lines
736 B
YAML
Raw Normal View History

2020-03-21 21:09:15 +01:00
name: Release
on:
push:
tags:
- '*'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.4.0
2020-03-21 21:09:15 +01:00
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v2.2.0
2020-03-21 21:09:15 +01:00
with:
go-version: 1.16.x
- name: Login to Docker Hub
uses: docker/login-action@v1.12.0
2020-03-21 21:09:15 +01:00
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Release
uses: goreleaser/goreleaser-action@v2.8.1
2020-03-21 21:09:15 +01:00
with:
version: latest
args: release --rm-dist
2020-03-21 22:30:41 +01:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}