Commit 81b77921 authored by Idriss Neumann's avatar Idriss Neumann
Browse files

Update in order to use an environment variable for docker login instead

parent 26a72efd
Pipeline #6252 canceled with stages
in 9 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