From 6a0225fae5cfaf2fc8783d57c2490556e2101efa Mon Sep 17 00:00:00 2001 From: Ruslan Date: Thu, 8 Jun 2023 19:47:30 +0400 Subject: [PATCH] Fixed dockerhub login again --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 17ab42e..636f47c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -244,6 +244,7 @@ publish-images-dockerhub: - mkdir -p $HOME/.docker - echo $DOCKER_AUTH_CONFIG > $HOME/.docker/config.json script: + - docker login -u "${DOCKERHUB_USER}" -p "${DOCKERHUB_PASSWORD}" # Pull latest image for using cache - docker pull "${REGISTRY}/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:latest" || true