Commit 0bc40352 authored by Idriss Neumann's avatar Idriss Neumann
Browse files

Update docker-deliver.sh in order to use an environment variable for docker login instead

parent aecbe7b0
Pipeline #6253 canceled with stages
in 8 seconds
......@@ -27,7 +27,7 @@ echo '{"version":"'"${VERSION}"'", "sha":"'"${sha}"'", "arch":"'"${ARCH}"'"}' >
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -f docker-compose-build-${ARCH}.yml build --no-cache "${IMAGE}"
echo "${DOCKER_ACCESS_TOKEN}" | docker login --username comworkio --password-stdin
echo "${DOCKER_ACCESS_TOKEN}" | docker login --username "${DOCKER_USERNAME}" --password-stdin
tag_and_push "${VERSION}" "${IMAGE}" "${ARCH}"
tag_and_push "${VERSION}-${CI_COMMIT_SHORT_SHA}" "${IMAGE}" "${ARCH}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment