fix version
This commit is contained in:
@@ -19,11 +19,11 @@ jobs:
|
|||||||
PREFIX="gitea.controller.bittehackmichnicht.de/${{ github.repository }}/ptp-chat-frontend"
|
PREFIX="gitea.controller.bittehackmichnicht.de/${{ github.repository }}/ptp-chat-frontend"
|
||||||
if [ "${{ github.event_name }}" = "schedule" ]; then
|
if [ "${{ github.event_name }}" = "schedule" ]; then
|
||||||
echo "Scheduled run detected, using date-based tag."
|
echo "Scheduled run detected, using date-based tag."
|
||||||
echo "VERSION=${{ github.run_id }}" >> $GITHUB_OUTPUT
|
echo "VERSION=1.0.0-${{ github.run_id }}" >> $GITHUB_OUTPUT
|
||||||
echo "TAG=$PREFIX:$VERSION" >> $GITHUB_OUTPUT
|
echo "TAG=$PREFIX:$VERSION" >> $GITHUB_OUTPUT
|
||||||
echo "LATEST=true" >> $GITHUB_OUTPUT
|
echo "LATEST=true" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "VERSION=alpha.${{ github.run_id }}" >> $GITHUB_OUTPUT
|
echo "VERSION=1.0.0-alpha-${{ github.run_id }}" >> $GITHUB_OUTPUT
|
||||||
if [ ${{ github.event_name }} = "workflow_dispatch" ]; then
|
if [ ${{ github.event_name }} = "workflow_dispatch" ]; then
|
||||||
echo "Manual run detected, also updating 'latest' tag."
|
echo "Manual run detected, also updating 'latest' tag."
|
||||||
echo "LATEST=true" >> $GITHUB_OUTPUT
|
echo "LATEST=true" >> $GITHUB_OUTPUT
|
||||||
|
|||||||
Reference in New Issue
Block a user