modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 3s
Some checks failed
/ build-image (push) Failing after 3s
This commit is contained in:
@@ -18,13 +18,19 @@ jobs:
|
||||
buildkitd --oci-worker-no-process-sandbox --root /tmp/buildkit &
|
||||
sleep 3
|
||||
|
||||
- name: Login to Gitea registry
|
||||
- name: Authenticate to Gitea registry
|
||||
run: |
|
||||
buildctl login \
|
||||
--username "${{ secrets.REGISTRY_USERNAME }}" \
|
||||
--password "${{ secrets.REGISTRY_PASSWORD }}" \
|
||||
git.limbosolutions.com
|
||||
|
||||
mkdir -p ~/.docker
|
||||
AUTH=$(echo -n "${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_PASSWORD }}" | base64)
|
||||
cat > ~/.docker/config.json <<EOF
|
||||
{
|
||||
"auths": {
|
||||
"git.limbosolutions.com": {
|
||||
"auth": "$AUTH"
|
||||
}
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
- name: Build and push image
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user