diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9523d93e..18ea790a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ test_amd64: - linux - amd64 before_script: - - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY + - echo "${REGISTRY_PASSWORD:?}" | docker login --password-stdin -u "${REGISTRY_USER:?}" -- "${CI_REGISTRY:?}" script: - earthly --ci --remote-cache=veilid/main-branch-cache:cache +unit-tests-linux-amd64 when: manual @@ -36,7 +36,7 @@ distribute_amd64: - linux - amd64 before_script: - - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY + - echo "${REGISTRY_PASSWORD:?}" | docker login --password-stdin -u "${REGISTRY_USER:?}" -- "${CI_REGISTRY:?}" script: - earthly --remote-cache=veilid/main-branch-cache:cache +package-linux-amd64 # - /home/gitlab-runner/distribute-packages.sh