$ echo "Building ${IMAGE}:${CI_COMMIT_SHORT_SHA} using ${DOCKERFILE_DIR}/${DOCKERFILE_NAME}" Building /mattermost-worker:73206c3e using image/Dockerfile $ echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json $ /kaniko/executor --context ${DOCKERFILE_DIR} --dockerfile ${DOCKERFILE_NAME} --destination ${IMAGE}:${CI_COMMIT_SHORT_SHA} E0111 21:12:05.197682 16 aws_credentials.go:77] while getting AWS credentials NoCredentialProviders: no valid providers in chain. Deprecated. For verbose messaging see aws.Config.CredentialsChainVerboseErrors error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "/mattermost-worker:73206c3e": GET https://index.docker.io/v2/mattermost-worker/blobs/uploads/: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:mattermost-worker Type:repository]] Cleaning up file based variables ERROR: Job failed: command terminated with exit code 1