From 6d25affa625c8b31057a0e976b266f5493e00dd1 Mon Sep 17 00:00:00 2001 From: Felipe Molina <846513+felmoltor@users.noreply.github.com> Date: Wed, 28 Aug 2024 13:04:35 +0200 Subject: [PATCH] Add random names to releases --- .github/workflows/publish-registry.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-registry.yml b/.github/workflows/publish-registry.yml index 2b57953..c1e88fa 100644 --- a/.github/workflows/publish-registry.yml +++ b/.github/workflows/publish-registry.yml @@ -50,6 +50,9 @@ 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 @@ -57,8 +60,8 @@ jobs: 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