tried direct login to docker registry
Daily Update Pipeline / build-and-publish (push) Successful in 47s

This commit is contained in:
Brian Bjarke Jensen
2025-09-23 15:26:41 +02:00
parent ac1e42916e
commit eb489c0263
+10 -5
View File
@@ -23,11 +23,16 @@ jobs:
insecure = true insecure = true
- name: Log in to Gitea Container Registry - name: Log in to Gitea Container Registry
uses: docker/login-action@v3 run: |
with: # Configure Docker to allow insecure registry for this session
registry: http://10.0.0.2:3000 mkdir -p ~/.docker
username: ${{ gitea.actor }} echo '{
password: ${{ secrets.CI_RUNNER_TOKEN }} "auths": {},
"insecure-registries": ["10.0.0.2:3000"]
}' > ~/.docker/config.json
# Login using direct docker command
echo "${{ secrets.CI_RUNNER_TOKEN }}" | docker login 10.0.0.2:3000 --username "${{ gitea.actor }}" --password-stdin
- name: Extract metadata - name: Extract metadata
id: meta id: meta