Skip to content

Commit

Permalink
fix(gh-actions): checkout full history for correct tag (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-github authored Jun 15, 2024
1 parent a44bdd6 commit 63d9bcb
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Login to Docker Hub
uses: docker/login-action@v3
Expand All @@ -26,17 +24,17 @@ jobs:
- name: Release production Docker images
run: make release-docker

- name: Update Docker Hub description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
repository: xelonag/xelon-csi
short-description: "Xelon Persistent Storage CSI Driver"

- name: GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
args: release -f .github/goreleaser.yaml --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Update Docker Hub description
# uses: peter-evans/dockerhub-description@v4
# with:
# username: ${{ secrets.DOCKER_HUB_USERNAME }}
# password: ${{ secrets.DOCKER_HUB_TOKEN }}
# repository: xelonag/xelon-csi
# short-description: "Xelon Persistent Storage CSI Driver"
#
# - name: GoReleaser
# uses: goreleaser/goreleaser-action@v6
# with:
# args: release -f .github/goreleaser.yaml --clean
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 63d9bcb

Please sign in to comment.