Commit fea0ef6f authored by Grant's avatar Grant
Browse files

ci: deploy login using job token

parent d91473d5
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -27,6 +27,8 @@ deploy:
  tags:
    - red
  interruptible: true
  before_script:
    - echo "$CI_JOB_TOKEN" | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin
  script:
    - cd $WORK_DIR
    - docker compose pull