We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09f0220 commit c146dbaCopy full SHA for c146dba
scripts/submit_image.sh
@@ -28,14 +28,7 @@ fi
28
AUTH_CONTENT="${AUTH_CONTENT}"
29
readonly PLATFORM="${PLATFORM:-amd64}"
30
31
-if [[ "${CONTAINER_REGISTRY_KEY}"=="null" ]]; then
32
- echo "CONTAINER_REGISTRY_KEY is null $(echo ${CONTAINER_REGISTRY_KEY} | head -c4)"
33
-fi
34
-if [[ -z "${CONTAINER_REGISTRY_KEY}" ]]; then
35
- echo "CONTAINER_REGISTRY_KEY is empty"
36
37
-
38
-if [[ -z "${CONTAINER_REGISTRY_KEY}" || "${CONTAINER_REGISTRY_KEY}"=="null" ]]; then
+if [[ -z "${CONTAINER_REGISTRY_KEY}" || "${CONTAINER_REGISTRY_KEY}" == "null" ]]; then
39
echo "Invalid CONTAINER_REGISTRY_KEY. Assuming that the original registry should be used and just submitting results"
40
41
# submit image
0 commit comments