modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 18s
Some checks failed
/ build-image (push) Failing after 18s
This commit is contained in:
@@ -34,16 +34,8 @@ jobs:
|
|||||||
- name: Authenticate to Gitea registry
|
- name: Authenticate to Gitea registry
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.docker
|
mkdir -p ~/.docker
|
||||||
AUTH=$(echo -n "${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_PASSWORD }}" | base64 -w 0)
|
AUTH=$(printf "%s" "${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_PASSWORD }}" | base64 -w 0)
|
||||||
cat > ~/.docker/config.json <<EOF
|
printf '{"auths":{"git.limbosolutions.com":{"auth":"%s"}}}' "$AUTH" > ~/.docker/config.json
|
||||||
{
|
|
||||||
"auths": {
|
|
||||||
"git.limbosolutions.com": {
|
|
||||||
"auth": "$AUTH"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
|
|
||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user