Skip to content

Commit

Permalink
workflows(goreleaser): run on version tags only
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Nov 17, 2021
1 parent a61b7d9 commit 4df78d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: goreleaser
on:
push:
tags:
- '*'
- 'v*.*.*'

permissions:
contents: write
Expand Down Expand Up @@ -31,7 +31,6 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v1
with:
registry: docker.io/charmcli
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

Expand Down

0 comments on commit 4df78d7

Please sign in to comment.