mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 12:53:57 +01:00
[CI] Forgejo Actions based release process (squash)
base64 -w0 to avoid wrapping when the doer name is long as it creates a broken config.json
This commit is contained in:
parent
b4b25ca8d4
commit
9efdc27e49
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ runs:
|
||||||
|
|
||||||
- name: Login to the container registry
|
- name: Login to the container registry
|
||||||
run: |
|
run: |
|
||||||
BASE64_AUTH=`echo -n "${{ inputs.doer }}:${{ inputs.token }}" | base64`
|
BASE64_AUTH=`echo -n "${{ inputs.doer }}:${{ inputs.token }}" | base64 -w0`
|
||||||
mkdir -p ~/.docker
|
mkdir -p ~/.docker
|
||||||
echo "{\"auths\": {\"$CI_REGISTRY\": {\"auth\": \"$BASE64_AUTH\"}}}" > ~/.docker/config.json
|
echo "{\"auths\": {\"$CI_REGISTRY\": {\"auth\": \"$BASE64_AUTH\"}}}" > ~/.docker/config.json
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue