Fixed docker login script

This commit is contained in:
Aditya Prima 2023-12-19 16:31:45 +07:00
parent e1bbc67ffa
commit 88d098a035
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ stages:
DOCKER_DRIVER: "overlay"
before_script:
- "docker login ${CI_REGISTRY} -u gitlab-ci-token -p ${CI_JOB_TOKEN}"
- "docker login ${HUB_REGISTRY} -u ${HUB_USERNAME} -p ${HUB_TOKEN}"
- "docker login -u ${HUB_USERNAME} -p ${HUB_TOKEN}"
after_script:
- "docker logout ${CI_REGISTRY}"
- "docker logout ${HUB_REGISTRY}"