Update build.yml

This commit is contained in:
Max W. 2024-03-03 16:13:30 +01:00
parent 049ce241e8
commit d13368fe9a

View File

@ -56,10 +56,10 @@ jobs:
GIT_TAG=$(git tag --points-at HEAD)
if [[ "$GIT_TAG" == v* ]]; then
VERSION=${GIT_TAG#v}
echo "Extracted tag name: $VERSION"
echo "Version tag found. Initializing docker image build for version: $VERSION"
echo "VERSION=$VERSION" >> $GITHUB_ENV
else
echo "This is not a tag push with 'v' prefix, skipping..."
echo "No version tag found. Skipping subsequent steps. (Version tag format: vX.X.X)"
echo "SKIP_SUBSEQUENT_STEPS=true" >> $GITHUB_ENV
fi