Remove confirmation prompt from container-tag-and-release
All checks were successful
Build Container / build (push) Successful in 1m35s
All checks were successful
Build Container / build (push) Successful in 1m35s
Allows the task to run non-interactively. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
1f73eb675d
commit
8e1cc4c638
1 changed files with 0 additions and 8 deletions
|
|
@ -52,14 +52,6 @@ echo "Directory: $CONTAINER_DIR"
|
||||||
echo "Image: registry.ops.eblu.me/$IMAGE:$VERSION"
|
echo "Image: registry.ops.eblu.me/$IMAGE:$VERSION"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# Confirm
|
|
||||||
read -p "Create tag and push? [y/N] " -n 1 -r
|
|
||||||
echo
|
|
||||||
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
|
||||||
echo "Aborted."
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Create and push tag
|
# Create and push tag
|
||||||
git tag "$TAG"
|
git tag "$TAG"
|
||||||
git push origin "$TAG"
|
git push origin "$TAG"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue