Update build.yml
This commit is contained in:
parent
049ce241e8
commit
d13368fe9a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user