forked from Conjure-Tools/unity-runner
Refactor Docker registry login step to use environment variables for credentials
Some checks failed
🤓 Individual Runners / Build 🐳 windows-mono (push) Failing after 1m35s
Some checks failed
🤓 Individual Runners / Build 🐳 windows-mono (push) Failing after 1m35s
This commit is contained in:
parent
2cf28ee7cc
commit
67d15c3873
@ -57,11 +57,11 @@ jobs:
|
||||
time curl -v https://${{ env.DOCKER_REGISTRY_DOMAIN }}/v2/ || true
|
||||
|
||||
- name: Login to the Container registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.DOCKER_REGISTRY_DOMAIN }}
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
env:
|
||||
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
||||
PIPELINES_USERNAME: ${{ secrets.PIPELINES_USERNAME }}
|
||||
run: |
|
||||
echo "${REGISTRY_TOKEN}" | docker login "${{ env.DOCKER_REGISTRY_DOMAIN }}" -u "${PIPELINES_USERNAME}" --password-stdin
|
||||
|
||||
- name: Get Unity Version
|
||||
if: ${{ github.event.inputs.unity_version == '' }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user