Remove print. #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
permissions: | |
contents: write | |
on: | |
push: | |
tags: 'v*' | |
jobs: | |
release: | |
name: Upload releases | |
runs-on: ubuntu-latest | |
if: "!contains(github.ref, '-')" # skip prereleases | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18 | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v2 | |
with: | |
version: latest | |
args: release --clean | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# - name: Docker push on master | |
# run: | | |
# # Build & publish on master | |
# echo "${{ secrets.GH_TOKEN }}" | docker login ghcr.io -u USERNAME --password-stdin | |
# TAG=${GITHUB_REF_NAME} make docker_push | |
# TAG=latest make docker_push |