fix login

This commit is contained in:
John Smith 2023-06-22 20:26:37 -04:00
parent 01fd161b46
commit 83df76288c

View File

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