4df78d7741444d394585ec26683e19b626a8aab3
- Author
- Ayman Bagabas <ayman.bagabas@gmail.com>
- Committer
- Ayman Bagabas <ayman.bagabas@gmail.com>
- Date
Message
workflows(goreleaser): run on version tags only
Diff
1diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml
2index 9670197d3bf637fc26924beede1a4bac6f010b21..52f3a26e5fc0fcf16bfcc8b3a1451d45b4951765 100644
3--- a/.github/workflows/goreleaser.yml
4+++ b/.github/workflows/goreleaser.yml
5@@ -3,7 +3,7 @@ name: goreleaser
6 on:
7 push:
8 tags:
9- - '*'
10+ - 'v*.*.*'
11
12 permissions:
13 contents: write
14@@ -31,7 +31,6 @@ jobs:
15 - name: Login to DockerHub
16 uses: docker/login-action@v1
17 with:
18- registry: docker.io/charmcli
19 username: ${{ secrets.DOCKERHUB_USERNAME }}
20 password: ${{ secrets.DOCKERHUB_TOKEN }}
21