Add checks for existing Docker images in CI/CD workflow

This commit is contained in:
Swarup Sengupta
2025-11-29 01:38:28 +05:30
committed by GitHub
parent 5f3c0517d8
commit ca519113f6
+2
View File
@@ -108,6 +108,7 @@ jobs:
echo "Docker Hub: ${VERSION} already exists, skipping."
echo "dockerhub_tag=false" >> "$GITHUB_OUTPUT"
else
echo "Docker Hub: ${VERSION} needs to be pushed."
echo "dockerhub_tag=true" >> "$GITHUB_OUTPUT"
fi
- name: Check GHCR if tag missing
@@ -121,6 +122,7 @@ jobs:
echo "GHCR: ${VERSION} already exists, skipping."
echo "ghcr_tag=false" >> "$GITHUB_OUTPUT"
else
echo "GHCR: ${VERSION} needs to be pushed"
echo "ghcr_tag=true" >> "$GITHUB_OUTPUT"
fi