fixes
This commit is contained in:
@@ -34,7 +34,8 @@ steps:
|
||||
commands:
|
||||
- IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt)
|
||||
- echo "Checking if apps/homepage:$IMAGE_TAG exists on remote Docker..."
|
||||
- if docker image inspect apps/homepage:$IMAGE_TAG > /dev/null 2>&1; then
|
||||
- |
|
||||
if docker image inspect apps/homepage:$IMAGE_TAG > /dev/null 2>&1; then
|
||||
echo "✅ Docker image apps/homepage:$IMAGE_TAG already exists — skipping build";
|
||||
exit 78; # stop pipeline gracefully
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user