change tag format

pull/24/head
Cullen Watson 2023-08-28 08:09:15 -05:00
parent 440e09cd26
commit 971feab94a
1 changed files with 5 additions and 2 deletions

View File

@ -34,14 +34,17 @@ jobs:
push: true
tags: ghcr.io/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}/jobspy_api:latest
- name: Set Release Tag Name
run: echo "RELEASE_TAG=${{ github.ref }}-$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.sha }}
release_name: Release ${{ github.sha }}
tag_name: ${{ env.RELEASE_TAG }}
release_name: Release ${{ env.RELEASE_TAG }}
draft: false
prerelease: false