Merge pull request '[CI] Forgejo Actions based release process (squash)' (#865) from earl-warren/forgejo:wip-release into forgejo-ci

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/865
This commit is contained in:
Earl Warren 2023-06-15 21:34:22 +00:00
commit ff74da1cb6

View file

@ -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: