Sfoglia il codice sorgente

pass docker login pass on stdin

tags/v1.4.4
Jonathan Cobb 4 anni fa
parent
commit
0ae43fbc25
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      bin/jenkins/push_docker

+ 1
- 1
bin/jenkins/push_docker Vedi File

@@ -40,7 +40,7 @@ fi
echo "Found Bubble version ${VERSION}"

echo "Logging in to docker"
docker login -u "${BUBBLE_DOCKER_USER}" -p "${BUBBLE_DOCKER_PASS}" || die "Error logging in to docker"
echo -n "${BUBBLE_DOCKER_PASS}" | docker login -u "${BUBBLE_DOCKER_USER}" --password-stdin || die "Error logging in to docker"

echo "Checking to see if this version already exists on dockerhub..."
if docker manifest inspect "getbubble/launcher:${VERSION}" 2> /dev/null ; then


Caricamento…
Annulla
Salva