Skip to content

Commit

Permalink
ci: Restructure release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
steffakasid committed Jan 19, 2024
1 parent 31d4248 commit b915243
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,23 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Login to Docker Hub

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up Go

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
-
name: Run GoReleaser

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
Expand All @@ -42,6 +41,7 @@ jobs:
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
Expand Down

0 comments on commit b915243

Please sign in to comment.