Skip to content

Commit

Permalink
fix release process
Browse files Browse the repository at this point in the history
  • Loading branch information
frapposelli committed Jan 5, 2020
1 parent 7725f8b commit 1f49b5c
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,22 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v1
-
name: Set up Go
- name: Checkout
uses: actions/checkout@v2
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.13.x
-
name: Run GoReleaser
- name: Log into docker hub
run: docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD} docker.io
env:
DOCKER_USERNAME: frapposelli
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_KEY }}
DOCKER_USERNAME: frapposelli
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

0 comments on commit 1f49b5c

Please sign in to comment.