diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 4b8d668..c39a819 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -34,10 +34,12 @@ jobs: push: true tags: ghcr.io/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}/jobspy_api:latest - - name: Set Release Tag Name - run: | - TAG_NAME=$(echo ${{ github.ref }} | sed -e 's/refs\/heads\///' -e 's/\//-/g') - echo "RELEASE_TAG=${TAG_NAME}-$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV + - name: Set Release Tag Name and Title + run: | + TAG_NAME=$(echo ${{ github.ref }} | sed -e 's/refs\/heads\///' -e 's/\//-/g') + echo "RELEASE_TAG=${TAG_NAME}-$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV + echo "RELEASE_TITLE=JobSpy Release for ${{ github.ref }} on $(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV + - name: Create Release id: create_release