Skip to content

Commit

Permalink
feat: automatically create a release after a tag is generated
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Sep 14, 2024
1 parent 7401951 commit 17f90f6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: release
on:
push:
tags:
- '*'
- "*"

jobs:
docker:
Expand All @@ -32,7 +32,6 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand All @@ -46,3 +45,8 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Create Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true

0 comments on commit 17f90f6

Please sign in to comment.