Skip to content

Commit

Permalink
Update workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ivancorrales committed Mar 5, 2022
1 parent 470e981 commit 805b5ac
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,20 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: 1.17
- name: "Docker login"
run: docker login docker.pkg.github.com -u docker -p ${{ secrets.GITHUB_TOKEN }}

- name: Release
run: make release
- name: Install Go project
run: make install
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Docker Login
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 805b5ac

Please sign in to comment.