adapted to containerized runner

This commit is contained in:
Brian Bjarke Jensen
2025-09-23 15:15:22 +02:00
parent 9917047ef1
commit ac1e42916e
+1 -9
View File
@@ -22,18 +22,10 @@ jobs:
http = true http = true
insecure = true insecure = true
- name: Configure Docker daemon for insecure registry
run: |
sudo mkdir -p /etc/docker
echo '{
"insecure-registries": ["10.0.0.2:3000"]
}' | sudo tee /etc/docker/daemon.json
sudo systemctl restart docker || sudo service docker restart
- name: Log in to Gitea Container Registry - name: Log in to Gitea Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: 10.0.0.2:3000 registry: http://10.0.0.2:3000
username: ${{ gitea.actor }} username: ${{ gitea.actor }}
password: ${{ secrets.CI_RUNNER_TOKEN }} password: ${{ secrets.CI_RUNNER_TOKEN }}