Explorar el Código

pass docker login pass on stdin

tags/v1.4.4
Jonathan Cobb hace 4 años
padre
commit
0ae43fbc25
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      bin/jenkins/push_docker

+ 1
- 1
bin/jenkins/push_docker Ver fichero

@@ -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


Cargando…
Cancelar
Guardar