Skip to content

Commit

Permalink
Add random names to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
felmoltor committed Aug 28, 2024
1 parent 8808153 commit 6d25aff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,18 @@ jobs:
docker push ghcr.io/${{ github.repository }}/${{env.IMAGE_NAME}}:${{ github.ref_name }}
docker push ghcr.io/${{ github.repository }}/${{env.IMAGE_NAME}}:latest
- name: Generate Random Release Name
id: generator
uses: octodemo-resources/name-generator-action@v1

- name: Create GitHub Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Automatically provided by GitHub Actions
with:
tag_name: ${{ github.ref_name }} # Use the tag name as the release title
release_name: Release ${{ github.ref_name }}
release_name: ${{ github.ref_name }} - ${{steps.generator.outputs.name}}
body: |
This is the release of version ${{ github.ref_name }}.
This is the release of version ${{ github.ref_name }} - ${{steps.generator.outputs.name}}.
draft: false
prerelease: false

0 comments on commit 6d25aff

Please sign in to comment.