This commit is contained in:
@@ -11,6 +11,14 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Force Internal Networking
|
||||
run: |
|
||||
# Replace 172.23.0.5 with the actual IP from the step above
|
||||
echo "172.23.0.5 gitea" | sudo tee -a /etc/hosts
|
||||
|
||||
# Configure Docker to allow HTTP for this specific name
|
||||
sudo mkdir -p /etc/docker
|
||||
echo '{"insecure-registries":["gitea:3000"]}' | sudo tee /etc/docker/daemon.json
|
||||
|
||||
- name: Login to Gitea Registry
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user