Update .github/workflows/.github-ci.yaml
This commit is contained in:
parent
27be4486a3
commit
74215bf24b
1 changed files with 2 additions and 2 deletions
4
.github/workflows/.github-ci.yaml
vendored
4
.github/workflows/.github-ci.yaml
vendored
|
@ -14,8 +14,8 @@ jobs:
|
|||
- name: Build Credentials File
|
||||
run: |
|
||||
mkdir -p /kaniko/.docker
|
||||
AUTHSTRING=$(echo -n "${{ inputs.username }}:${{ inputs.password }}" | base64)
|
||||
echo "{\"auths\":{\"${{ inputs.registry }}\":{\"auth\":\"${AUTHSTRING}\"}}}" > /kaniko/.docker/config.json
|
||||
AUTHSTRING=$(echo -n "${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_PASSWORD }}" | base64)
|
||||
echo "{\"auths\":{\"https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live\":{\"auth\":\"${AUTHSTRING}\"}}}" > /kaniko/.docker/config.json
|
||||
|
||||
- name: Build Docker Container
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue