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