tried direct login to docker registry
Daily Update Pipeline / build-and-publish (push) Successful in 47s
Daily Update Pipeline / build-and-publish (push) Successful in 47s
This commit is contained in:
@@ -23,11 +23,16 @@ jobs:
|
||||
insecure = true
|
||||
|
||||
- name: Log in to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: http://10.0.0.2:3000
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.CI_RUNNER_TOKEN }}
|
||||
run: |
|
||||
# Configure Docker to allow insecure registry for this session
|
||||
mkdir -p ~/.docker
|
||||
echo '{
|
||||
"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
|
||||
id: meta
|
||||
|
||||
Reference in New Issue
Block a user