This commit is contained in:
@@ -55,7 +55,8 @@ steps:
|
|||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt)
|
- IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt)
|
||||||
- if [ -z "$IMAGE_TAG" ]; then
|
- |
|
||||||
|
if [ -z "$IMAGE_TAG" ]; then
|
||||||
echo "❌ No tag found in LATEST_TAG.txt — cannot build."
|
echo "❌ No tag found in LATEST_TAG.txt — cannot build."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@@ -76,7 +77,8 @@ steps:
|
|||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt)
|
- IMAGE_TAG=$(cat /drone/src/LATEST_TAG.txt)
|
||||||
- if [ -z "$IMAGE_TAG" ]; then
|
- |
|
||||||
|
if [ -z "$IMAGE_TAG" ]; then
|
||||||
echo "❌ No tag found in LATEST_TAG.txt — cannot push."
|
echo "❌ No tag found in LATEST_TAG.txt — cannot push."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user